From: Alex Dehnert Date: Tue, 29 Oct 2019 16:52:35 +0000 (-0400) Subject: Reenable dehnert.arctic.org and add a DNAME in dynamic.dehnert.arctic.org X-Git-Url: https://dehnerts.com/gitweb/?a=commitdiff_plain;h=2dad5d71dec9366ab3432688bfcb0b96a7bb3d4f;hp=5ecf1775e2d446c3834617f76165709f998593be;p=sysconfig%2Fbind.git 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. --- 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.