From 2dad5d71dec9366ab3432688bfcb0b96a7bb3d4f Mon Sep 17 00:00:00 2001 From: Alex Dehnert Date: Tue, 29 Oct 2019 12:52:35 -0400 Subject: [PATCH] Reenable dehnert.arctic.org and add a DNAME in dynamic.dehnert.arctic.org *.dynamic.dehnert.arctic.org should behave just like *.dynamic.dehnerts.com, without needing to do dynamic updates for both. --- named.conf.local | 27 ++++++++++++++++++--------- pri/arctic-dynamic.zone | 11 +++++++++++ 2 files changed, 29 insertions(+), 9 deletions(-) create mode 100644 pri/arctic-dynamic.zone diff --git a/named.conf.local b/named.conf.local index 38a9945..8e94176 100644 --- a/named.conf.local +++ b/named.conf.local @@ -33,15 +33,24 @@ zone "dynamic.dehnerts.com" IN { allow-query { any; }; }; -#zone "dehnert.arctic.org" IN { -# type master; -# file "/etc/bind/pri/combined-dehnerts.zone"; -# #update-policy { grant * selfsub * A;}; -# allow-update { none; }; -# allow-transfer { "transfer-allowed"; }; -# allow-query { any; }; -# //notify no; -#}; +zone "dynamic.dehnert.arctic.org" IN { + // DNAME to the real, dynamic.dehnerts.com, zone + type master; + file "/etc/bind/pri/arctic-dynamic.zone"; + allow-update { none; }; + allow-transfer { "transfer-allowed"; }; + allow-query { any; }; + //notify no; +}; + +zone "dehnert.arctic.org" IN { + type master; + file "/etc/bind/pri/combined-dehnerts.zone"; + allow-update { none; }; + allow-transfer { "transfer-allowed"; }; + allow-query { any; }; + //notify no; +}; zone "dehnerts.com" IN { type master; file "/etc/bind/pri/combined-dehnerts.zone"; diff --git a/pri/arctic-dynamic.zone b/pri/arctic-dynamic.zone new file mode 100644 index 0000000..905158c --- /dev/null +++ b/pri/arctic-dynamic.zone @@ -0,0 +1,11 @@ +$TTL 300 +@ IN SOA ns root ( + 2019102901 ; Serial + 4h ; slave refresh + 15m ; slave retry time in case of a problem + 4w ; slave expiration time + 300 ; maximum caching time in case of failed lookups (5 minutes) + ) + IN NS ns3.dehnerts.com. + IN NS olinda.mit.edu. + IN DNAME dynamic.dehnerts.com. -- 2.34.1