diff options
author | Ken Raffenetti <raffenet@mcs.anl.gov> | 2006-08-29 16:33:36 +0000 |
---|---|---|
committer | Ken Raffenetti <raffenet@mcs.anl.gov> | 2006-08-29 16:33:36 +0000 |
commit | 510c55e843ea0a1c049b39a9f57ff044190fcbd9 (patch) | |
tree | 5e82a8238779a088147ff61efc0db305be76a1f7 /src/lib/Server/Hostbase/templates/named.tmpl | |
parent | dbc96682be8968aac8ca8f8727728d60609f732c (diff) | |
download | bcfg2-510c55e843ea0a1c049b39a9f57ff044190fcbd9.tar.gz bcfg2-510c55e843ea0a1c049b39a9f57ff044190fcbd9.tar.bz2 bcfg2-510c55e843ea0a1c049b39a9f57ff044190fcbd9.zip |
Added all the django application code
includes database models, file templates, and web apps
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2135 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Hostbase/templates/named.tmpl')
-rw-r--r-- | src/lib/Server/Hostbase/templates/named.tmpl | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/src/lib/Server/Hostbase/templates/named.tmpl b/src/lib/Server/Hostbase/templates/named.tmpl new file mode 100644 index 000000000..5b45e2158 --- /dev/null +++ b/src/lib/Server/Hostbase/templates/named.tmpl @@ -0,0 +1,67 @@ +// This is the primary configuration file for the BIND DNS server named. +// +// Please read /usr/share/doc/bind9/README.Debian.gz for information on the +// structure of BIND configuration files in Debian, *BEFORE* you customize +// this configuration file. +// + +include "/etc/bind/named.conf.options"; + +// prime the server with knowledge of the root servers +zone "." { + type hint; + file "/etc/bind/db.root"; +}; + +// be authoritative for the localhost forward and reverse zones, and for +// broadcast zones as per RFC 1912 + +#for $zone in $zones +zone "${zone[1]}" { + type master; + file "/etc/bind/${zone[1]}"; +}; + +#end for +zone "localhost" { + type master; + file "/etc/bind/db.local"; +}; + +zone "127.in-addr.arpa" { + type master; + file "/etc/bind/db.127"; +}; + +zone "0.in-addr.arpa" { + type master; + file "/etc/bind/db.0"; +}; + +zone "255.in-addr.arpa" { + type master; + file "/etc/bind/db.255"; +}; + +#for $reverse in $reverses +zone "${reverse[0]}.in-addr.arpa" { + type master; + file "/etc/bind/${reverse[0]}.rev"; +}; + +#end for + +// zone "com" { type delegation-only; }; +// zone "net" { type delegation-only; }; + +// From the release notes: +// Because many of our users are uncomfortable receiving undelegated answers +// from root or top level domains, other than a few for whom that behaviour +// has been trusted and expected for quite some length of time, we have now +// introduced the "root-delegations-only" feature which applies delegation-only +// logic to all top level domains, and to the root domain. An exception list +// should be specified, including "MUSEUM" and "DE", and any other top level +// domains from whom undelegated responses are expected and trusted. +// root-delegation-only exclude { "DE"; "MUSEUM"; }; + +include "/etc/bind/named.conf.local"; |