From c90cadde831ccb204c3a1c4c3f1621f16c704f4c Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Wed, 27 May 2009 19:19:51 +0100 Subject: [PATCH] A slightly better solution Signed-off-by: Stephen Gran --- modules/geodns/files/common/named.conf.geo | 25 ------------------- .../geodns/files/common/named.conf.options | 1 + 2 files changed, 1 insertion(+), 25 deletions(-) diff --git a/modules/geodns/files/common/named.conf.geo b/modules/geodns/files/common/named.conf.geo index 8c65496d2..8c21bb679 100644 --- a/modules/geodns/files/common/named.conf.geo +++ b/modules/geodns/files/common/named.conf.geo @@ -3,28 +3,10 @@ // USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git // -view "Nagios" { - match-clients { - Nagios; - }; - recursion yes; - zone "security.debian.org" { - type master; - file "/etc/bind/db.security.debian.org.NA"; - notify no; - }; - zone "security.geo.debian.org" { - type master; - file "/etc/bind/db.security.debian.org.NA"; - notify no; - }; -}; - view "Africa" { match-clients { Africa; }; - recursion no; zone "security.debian.org" { type master; file "/etc/bind/db.security.debian.org.AF"; @@ -41,7 +23,6 @@ view "Asia" { match-clients { Asia; }; - recursion no; zone "security.debian.org" { type master; file "/etc/bind/db.security.debian.org.AS"; @@ -58,7 +39,6 @@ view "Europe" { match-clients { Europe; }; - recursion no; zone "security.debian.org" { type master; file "/etc/bind/db.security.debian.org.EU"; @@ -75,7 +55,6 @@ view "NorthAmerica" { match-clients { NorthAmerica; }; - recursion no; zone "security.debian.org" { type master; file "/etc/bind/db.security.debian.org.NA"; @@ -91,7 +70,6 @@ view "SouthAmerica" { match-clients { SouthAmerica; }; - recursion no; zone "security.debian.org" { type master; file "/etc/bind/db.security.debian.org.SA"; @@ -107,7 +85,6 @@ view "Oceania" { match-clients { Oceania; }; - recursion no; zone "security.debian.org" { type master; file "/etc/bind/db.security.debian.org.OC"; @@ -123,7 +100,6 @@ view "Antarctica" { match-clients { Antarctica; }; - recursion no; zone "security.debian.org" { type master; file "/etc/bind/db.security.debian.org.AN"; @@ -137,7 +113,6 @@ view "Antarctica" { }; view "other" { match-clients { any; }; - recursion no; zone "security.debian.org" { type master; file "/etc/bind/db.security.debian.org"; diff --git a/modules/geodns/files/common/named.conf.options b/modules/geodns/files/common/named.conf.options index 22127743b..eabf92397 100644 --- a/modules/geodns/files/common/named.conf.options +++ b/modules/geodns/files/common/named.conf.options @@ -21,6 +21,7 @@ options { auth-nxdomain no; # conform to RFC1035 listen-on-v6 { any; }; + allow-recursion { Nagios; } }; logging { -- 2.20.1