From 777c5e752682605adc49ddef7b3376b8fb285fc7 Mon Sep 17 00:00:00 2001 From: Alex Dehnert Date: Fri, 30 Aug 2019 20:22:42 -0400 Subject: [PATCH] Dynamic zone updates, first pass --- named.conf.local | 22 +++++++++++++++++----- pri/combined-dehnerts.zone | 5 ++++- 2 files changed, 21 insertions(+), 6 deletions(-) diff --git a/named.conf.local b/named.conf.local index fa852ca..285963a 100644 --- a/named.conf.local +++ b/named.conf.local @@ -23,18 +23,30 @@ acl "transfer-allowed" { 18.18.208.12; // olinda }; -zone "dehnert.arctic.org" IN { +include "/etc/bind/pri/dynamic.keys"; + +zone "dynamic.dehnerts.com" IN { type master; - file "/etc/bind/pri/combined-dehnerts.zone"; - allow-update { none; }; + file "/etc/bind/dyn/dynamic.zone"; + update-policy { grant * selfsub * A;}; allow-transfer { "transfer-allowed"; }; allow-query { any; }; - //notify no; }; + +#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 "dehnerts.com" IN { type master; file "/etc/bind/pri/combined-dehnerts.zone"; - allow-update { none; }; + #update-policy { grant * selfsub * A;}; + allow-update { none; }; allow-transfer { "transfer-allowed"; }; allow-query { any; }; //notify no; diff --git a/pri/combined-dehnerts.zone b/pri/combined-dehnerts.zone index b1717fe..f2e6b49 100644 --- a/pri/combined-dehnerts.zone +++ b/pri/combined-dehnerts.zone @@ -1,6 +1,6 @@ $TTL 300 @ IN SOA ns root ( - 2019081401 ; Serial + 2019082504 ; Serial 4h ; slave refresh 15m ; slave retry time in case of a problem 4w ; slave expiration time @@ -78,6 +78,9 @@ _gitlab-pages-verification-code.gametex TXT gitlab-pages-verification-code=400a2 wind.squares CNAME tech-squares.gitlab.io. _gitlab-pages-verification-code.wind.squares TXT gitlab-pages-verification-code=be2402e968b6d7125f60994be82f2653 +dynamic IN NS ns3.dehnerts.com. +dynamic IN NS olinda.mit.edu. +about.dynamic IN TXT "static zone updates for dehnerts.com" ; Admin services monitoring IN CNAME borobudur -- 2.34.1