forked from ajjahn/puppet-dns
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ce2b021
commit 1118eda
Showing
2 changed files
with
36 additions
and
26 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,42 @@ | ||
// File managed with puppet | ||
// prime the server with knowledge of the root servers | ||
zone "." { | ||
type hint; | ||
file "<%= @cfg_dir %>/db.root"; | ||
}; | ||
|
||
// be authoritative for the localhost forward and reverse zones, and for | ||
// broadcast zones as per RFC 1912 | ||
// named.rfc1912.zones: | ||
// | ||
// Provided by Red Hat caching-nameserver package | ||
// | ||
// ISC BIND named zone configuration for zones recommended by | ||
// RFC 1912 section 4.1 : localhost TLDs and address zones | ||
// and http://www.ietf.org/internet-drafts/draft-ietf-dnsop-default-local-zones-02.txt | ||
// (c)2007 R W Franks | ||
// | ||
// See /usr/share/doc/bind*/sample/ for example named configuration files. | ||
// | ||
|
||
zone "localhost" { | ||
zone "localhost.localdomain" IN { | ||
type master; | ||
file "<%= @cfg_dir %>/db.local"; | ||
file "named.localhost"; | ||
allow-update { none; }; | ||
}; | ||
|
||
zone "127.in-addr.arpa" { | ||
type master; | ||
file "<%= @cfg_dir %>/db.127"; | ||
}; | ||
zone "localhost" IN { | ||
type master; | ||
file "named.localhost"; | ||
allow-update { none; }; | ||
}; | ||
|
||
zone "0.in-addr.arpa" { | ||
type master; | ||
file "<%= @cfg_dir %>/db.0"; | ||
zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN { | ||
type master; | ||
file "named.loopback"; | ||
allow-update { none; }; | ||
}; | ||
|
||
zone "255.in-addr.arpa" { | ||
type master; | ||
file "<%= @cfg_dir %>/db.255"; | ||
zone "1.0.0.127.in-addr.arpa" IN { | ||
type master; | ||
file "named.loopback"; | ||
allow-update { none; }; | ||
}; | ||
|
||
zone "0.in-addr.arpa" IN { | ||
type master; | ||
file "named.empty"; | ||
allow-update { none; }; | ||
}; |