Created
May 25, 2012 00:55
-
-
Save santouras/2785155 to your computer and use it in GitHub Desktop.
bind setup for local wildcard domains on .dev domain
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// 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