diff options
author | Ken Raffenetti <raffenet@mcs.anl.gov> | 2007-04-23 19:34:24 +0000 |
---|---|---|
committer | Ken Raffenetti <raffenet@mcs.anl.gov> | 2007-04-23 19:34:24 +0000 |
commit | ec7c325353f8bc26a502b2dca66a085bb2689582 (patch) | |
tree | 6955e3a2fea6f938807da48001597e2b44f3b1bd /src/lib/Server/Hostbase/templates/named.tmpl | |
parent | 57d238f7b082c49d10024b8d54b7fb782dc0a997 (diff) | |
download | bcfg2-ec7c325353f8bc26a502b2dca66a085bb2689582.tar.gz bcfg2-ec7c325353f8bc26a502b2dca66a085bb2689582.tar.bz2 bcfg2-ec7c325353f8bc26a502b2dca66a085bb2689582.zip |
various tweaks to templates
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3058 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 | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/lib/Server/Hostbase/templates/named.tmpl b/src/lib/Server/Hostbase/templates/named.tmpl index 7a227c04e..eb1b2ddfe 100644 --- a/src/lib/Server/Hostbase/templates/named.tmpl +++ b/src/lib/Server/Hostbase/templates/named.tmpl @@ -7,6 +7,8 @@ include "/etc/bind/named.conf.options"; +include "/etc/bind/rndc.key"; + // prime the server with knowledge of the root servers zone "." { type hint; @@ -18,7 +20,9 @@ zone "." { {% for zone in zones %} zone "{{ zone.1 }}" { type master; - file "/etc/bind/{{ zone.1 }}"; + file "/etc/bind/hostbase/{{ zone.1 }}"; + notify no; + also-notify { 140.221.9.6;140.221.8.10; }; };{% endfor %} zone "localhost" { @@ -43,7 +47,9 @@ zone "255.in-addr.arpa" { {% for reverse in reverses %} zone "{{ reverse.0 }}.in-addr.arpa" { type master; - file "/etc/bind/{{ reverse.0 }}.rev"; + file "/etc/bind/hostbase/{{ reverse.0 }}.rev"; + notify no; + also-notify { 140.221.9.6;140.221.8.10; }; };{% endfor %} // zone "com" { type delegation-only; }; @@ -60,3 +66,4 @@ zone "{{ reverse.0 }}.in-addr.arpa" { // root-delegation-only exclude { "DE"; "MUSEUM"; }; include "/etc/bind/named.conf.local"; +include "/etc/bind/named.conf.static";
\ No newline at end of file |