From 7335c87365c1b817c39f340712e2060f37ae7913 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Fri, 25 Sep 2009 11:03:51 +0200 Subject: [PATCH] Add bugs to geo zones --- modules/geodns/files/common/named.conf.geo | 64 ++++++++++++++++++++++ modules/geodns/files/common/recvconf.files | 48 ++++++++++++++++ 2 files changed, 112 insertions(+) diff --git a/modules/geodns/files/common/named.conf.geo b/modules/geodns/files/common/named.conf.geo index 9f28c536d..13f6836e7 100644 --- a/modules/geodns/files/common/named.conf.geo +++ b/modules/geodns/files/common/named.conf.geo @@ -22,6 +22,14 @@ view "AF" { allow-transfer { }; }; + zone "bugs.debian.org" { + type master; + file "/etc/bind/geodns/db.bugs.debian.org.AF"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + zone "www.geo.debian.org" { type master; file "/etc/bind/geodns/db.www.debian.org.AF"; @@ -66,6 +74,14 @@ view "AN" { allow-transfer { }; }; + zone "bugs.debian.org" { + type master; + file "/etc/bind/geodns/db.bugs.debian.org.AN"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + zone "www.geo.debian.org" { type master; file "/etc/bind/geodns/db.www.debian.org.AN"; @@ -110,6 +126,14 @@ view "AS" { allow-transfer { }; }; + zone "bugs.debian.org" { + type master; + file "/etc/bind/geodns/db.bugs.debian.org.AS"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + zone "www.geo.debian.org" { type master; file "/etc/bind/geodns/db.www.debian.org.AS"; @@ -154,6 +178,14 @@ view "EU" { allow-transfer { }; }; + zone "bugs.debian.org" { + type master; + file "/etc/bind/geodns/db.bugs.debian.org.EU"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + zone "www.geo.debian.org" { type master; file "/etc/bind/geodns/db.www.debian.org.EU"; @@ -198,6 +230,14 @@ view "NA" { allow-transfer { }; }; + zone "bugs.debian.org" { + type master; + file "/etc/bind/geodns/db.bugs.debian.org.NA"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + zone "www.geo.debian.org" { type master; file "/etc/bind/geodns/db.www.debian.org.NA"; @@ -242,6 +282,14 @@ view "OC" { allow-transfer { }; }; + zone "bugs.debian.org" { + type master; + file "/etc/bind/geodns/db.bugs.debian.org.OC"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + zone "www.geo.debian.org" { type master; file "/etc/bind/geodns/db.www.debian.org.OC"; @@ -286,6 +334,14 @@ view "SA" { allow-transfer { }; }; + zone "bugs.debian.org" { + type master; + file "/etc/bind/geodns/db.bugs.debian.org.SA"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + zone "www.geo.debian.org" { type master; file "/etc/bind/geodns/db.www.debian.org.SA"; @@ -330,6 +386,14 @@ view "default" { allow-transfer { }; }; + zone "bugs.debian.org" { + type master; + file "/etc/bind/geodns/db.bugs.debian.org"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + zone "www.geo.debian.org" { type master; file "/etc/bind/geodns/db.www.debian.org"; diff --git a/modules/geodns/files/common/recvconf.files b/modules/geodns/files/common/recvconf.files index a14f73dfa..9c6667b6c 100644 --- a/modules/geodns/files/common/recvconf.files +++ b/modules/geodns/files/common/recvconf.files @@ -3,6 +3,54 @@ # dsa-puppet/modules/geodns/files/common/recvconf.files # you probably do not want to edit it manually wherever you find it +file etc/bind/geodns/db.bugs.debian.org.AN + perms 0644 + user geodnssync + group geodnssync + precommand /usr/sbin/named-checkzone -q -k fail -n fail -S fail -i full -m fail -M fail bugs.debian.org etc/bind/geodns/db.bugs.debian.org.AN + postcommand sudo /etc/init.d/bind9 reload +file etc/bind/geodns/db.bugs.debian.org.SA + perms 0644 + user geodnssync + group geodnssync + precommand /usr/sbin/named-checkzone -q -k fail -n fail -S fail -i full -m fail -M fail bugs.debian.org etc/bind/geodns/db.bugs.debian.org.SA + postcommand sudo /etc/init.d/bind9 reload +file etc/bind/geodns/db.bugs.debian.org.OC + perms 0644 + user geodnssync + group geodnssync + precommand /usr/sbin/named-checkzone -q -k fail -n fail -S fail -i full -m fail -M fail bugs.debian.org etc/bind/geodns/db.bugs.debian.org.OC + postcommand sudo /etc/init.d/bind9 reload +file etc/bind/geodns/db.bugs.debian.org.AS + perms 0644 + user geodnssync + group geodnssync + precommand /usr/sbin/named-checkzone -q -k fail -n fail -S fail -i full -m fail -M fail bugs.debian.org etc/bind/geodns/db.bugs.debian.org.AS + postcommand sudo /etc/init.d/bind9 reload +file etc/bind/geodns/db.bugs.debian.org.AF + perms 0644 + user geodnssync + group geodnssync + precommand /usr/sbin/named-checkzone -q -k fail -n fail -S fail -i full -m fail -M fail bugs.debian.org etc/bind/geodns/db.bugs.debian.org.AF + postcommand sudo /etc/init.d/bind9 reload +file etc/bind/geodns/db.bugs.debian.org + perms 0644 + user geodnssync + group geodnssync + precommand /usr/sbin/named-checkzone -q -k fail -n fail -S fail -i full -m fail -M fail bugs.debian.org etc/bind/geodns/db.bugs.debian.org + postcommand sudo /etc/init.d/bind9 reload +file etc/bind/geodns/db.bugs.debian.org.EU + perms 0644 + user geodnssync + group geodnssync + precommand /usr/sbin/named-checkzone -q -k fail -n fail -S fail -i full -m fail -M fail bugs.debian.org etc/bind/geodns/db.bugs.debian.org.EU + postcommand sudo /etc/init.d/bind9 reload +file etc/bind/geodns/db.bugs.debian.org.NA + perms 0644 + user geodnssync + group geodnssync + precommand /usr/sbin/named-checkzone -q -k fail -n fail -S fail -i full -m fail -M fail bugs.debian.org etc/bind/geodns/db.bugs.debian.org.NA + postcommand sudo /etc/init.d/bind9 reload file etc/bind/geodns/db.packages.debian.org.AN perms 0644 user geodnssync -- 2.20.1