From effedfeceeb8f68ef03f471bab80bceb9845caea Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Thu, 24 Dec 2009 11:48:01 +0100 Subject: [PATCH] Create a volatile zone for geodns --- modules/named/files/common/named.conf.geo | 64 +++++++++++++++++++++++ modules/named/files/common/recvconf.files | 48 +++++++++++++++++ 2 files changed, 112 insertions(+) diff --git a/modules/named/files/common/named.conf.geo b/modules/named/files/common/named.conf.geo index ad520c37a..1864a1c9b 100644 --- a/modules/named/files/common/named.conf.geo +++ b/modules/named/files/common/named.conf.geo @@ -6,6 +6,14 @@ view "AF" { match-clients { AF; }; + zone "volatile.debian.org" { + type master; + file "/etc/bind/geodns/db.volatile.debian.org.AF"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + zone "security.geo.debian.org" { type master; file "/etc/bind/geodns/db.security.debian.org.AF"; @@ -50,6 +58,14 @@ view "AF" { view "AN" { match-clients { AN; }; + zone "volatile.debian.org" { + type master; + file "/etc/bind/geodns/db.volatile.debian.org.AN"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + zone "security.geo.debian.org" { type master; file "/etc/bind/geodns/db.security.debian.org.AN"; @@ -94,6 +110,14 @@ view "AN" { view "AS" { match-clients { AS; }; + zone "volatile.debian.org" { + type master; + file "/etc/bind/geodns/db.volatile.debian.org.AS"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + zone "security.geo.debian.org" { type master; file "/etc/bind/geodns/db.security.debian.org.AS"; @@ -138,6 +162,14 @@ view "AS" { view "EU" { match-clients { EU; }; + zone "volatile.debian.org" { + type master; + file "/etc/bind/geodns/db.volatile.debian.org.EU"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + zone "security.geo.debian.org" { type master; file "/etc/bind/geodns/db.security.debian.org.EU"; @@ -182,6 +214,14 @@ view "EU" { view "NA" { match-clients { NA; }; + zone "volatile.debian.org" { + type master; + file "/etc/bind/geodns/db.volatile.debian.org.NA"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + zone "security.geo.debian.org" { type master; file "/etc/bind/geodns/db.security.debian.org.NA"; @@ -226,6 +266,14 @@ view "NA" { view "OC" { match-clients { OC; }; + zone "volatile.debian.org" { + type master; + file "/etc/bind/geodns/db.volatile.debian.org.OC"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + zone "security.geo.debian.org" { type master; file "/etc/bind/geodns/db.security.debian.org.OC"; @@ -270,6 +318,14 @@ view "OC" { view "SA" { match-clients { SA; }; + zone "volatile.debian.org" { + type master; + file "/etc/bind/geodns/db.volatile.debian.org.SA"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + zone "security.geo.debian.org" { type master; file "/etc/bind/geodns/db.security.debian.org.SA"; @@ -314,6 +370,14 @@ view "SA" { view "default" { match-clients { any; }; + zone "volatile.debian.org" { + type master; + file "/etc/bind/geodns/db.volatile.debian.org"; + notify no; + allow-query { any; }; + allow-transfer { }; + }; + zone "security.geo.debian.org" { type master; file "/etc/bind/geodns/db.security.debian.org"; diff --git a/modules/named/files/common/recvconf.files b/modules/named/files/common/recvconf.files index 9c6667b6c..c44205b0f 100644 --- a/modules/named/files/common/recvconf.files +++ b/modules/named/files/common/recvconf.files @@ -147,6 +147,54 @@ file etc/bind/geodns/db.security.debian.org.NA group geodnssync precommand /usr/sbin/named-checkzone -q -k fail -n fail -S fail -i full -m fail -M fail security.debian.org etc/bind/geodns/db.security.debian.org.NA postcommand sudo /etc/init.d/bind9 reload +file etc/bind/geodns/db.volatile.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 volatile.debian.org etc/bind/geodns/db.volatile.debian.org.AN + postcommand sudo /etc/init.d/bind9 reload +file etc/bind/geodns/db.volatile.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 volatile.debian.org etc/bind/geodns/db.volatile.debian.org.SA + postcommand sudo /etc/init.d/bind9 reload +file etc/bind/geodns/db.volatile.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 volatile.debian.org etc/bind/geodns/db.volatile.debian.org.OC + postcommand sudo /etc/init.d/bind9 reload +file etc/bind/geodns/db.volatile.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 volatile.debian.org etc/bind/geodns/db.volatile.debian.org.AS + postcommand sudo /etc/init.d/bind9 reload +file etc/bind/geodns/db.volatile.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 volatile.debian.org etc/bind/geodns/db.volatile.debian.org.AF + postcommand sudo /etc/init.d/bind9 reload +file etc/bind/geodns/db.volatile.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 volatile.debian.org etc/bind/geodns/db.volatile.debian.org + postcommand sudo /etc/init.d/bind9 reload +file etc/bind/geodns/db.volatile.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 volatile.debian.org etc/bind/geodns/db.volatile.debian.org.EU + postcommand sudo /etc/init.d/bind9 reload +file etc/bind/geodns/db.volatile.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 volatile.debian.org etc/bind/geodns/db.volatile.debian.org.NA + postcommand sudo /etc/init.d/bind9 reload file etc/bind/geodns/db.www.debian.org.AN perms 0644 user geodnssync -- 2.20.1