Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
$TTL 60
$ORIGIN dev.
@ 1D IN SOA localhost. root.localhost. (45 3H 15M 1W 1D)
1D IN NS localhost.
1D IN A 127.0.0.1
*.dev. 60 IN A 127.0.0.1
go.dev. 60 IN A 127.0.0.1
*.go.dev. 60 IN A 127.0.0.1
// append to named.conf
// dev.zone
zone "dev" IN {
type master;
file "dev.zone";
allow-update { none; };
};
@jrschumacher

This comment has been minimized.

Copy link
Owner Author

@jrschumacher jrschumacher commented Jan 23, 2013

Removed the local.zone, reserved by OSX and causes issues when used.

@askdesigners

This comment has been minimized.

Copy link

@askdesigners askdesigners commented Jun 16, 2014

This is working for localhost.dev, but no subdomains.. :( do I need to do anything special to get that working? Thanks for this btw, such a life saver!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.