From ec7c325353f8bc26a502b2dca66a085bb2689582 Mon Sep 17 00:00:00 2001 From: Ken Raffenetti Date: Mon, 23 Apr 2007 19:34:24 +0000 Subject: various tweaks to templates git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3058 ce84e21b-d406-0410-9b95-82705330c041 --- src/lib/Server/Hostbase/templates/named.tmpl | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'src/lib/Server/Hostbase/templates/named.tmpl') 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 -- cgit v1.2.3-1-g7c22