Skip to content

Instantly share code, notes, and snippets.

@santouras
Created May 25, 2012 00:55
Show Gist options
  • Save santouras/2785155 to your computer and use it in GitHub Desktop.
Save santouras/2785155 to your computer and use it in GitHub Desktop.
bind setup for local wildcard domains on .dev domain
$TTL 60
dev. IN SOA icecream root.icecream.dev (
472 ; Serial
10 ; Refresh
10 ; Retry
120 ; Expire
120 ) ; Negative Cache TTL
;
dev. IN NS icecream.dev.
icecream.dev. IN A 127.0.1.1
* IN CNAME icecream.dev.
//
// Do any local configuration here
//
// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";
zone "dev" {
type master;
file "/etc/bind/db.dev";
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment