From 8326ed0ceb8c7bb8d9a56451a77578baf8834f64 Mon Sep 17 00:00:00 2001 From: Dessa Simpson Date: Fri, 22 Dec 2023 00:40:46 -0700 Subject: [PATCH] restructure corefiles --- Corefile | 10 +++------- Corefile.acme | 34 ++++++++++++++++++++++++++++++---- 2 files changed, 33 insertions(+), 11 deletions(-) diff --git a/Corefile b/Corefile index f4671b4..10f845b 100644 --- a/Corefile +++ b/Corefile @@ -13,6 +13,7 @@ allow net 192.168.0.0/16 allow net 74.207.242.178/32 allow net 129.146.35.42/32 + allow net 65.101.184.219/32 block type AXFR block type IXFR } @@ -22,13 +23,8 @@ transfer { to * } - errors -} - -biggeeks.org { - reload - secondary { + secondary biggeeks.org { transfer from 65.101.184.209 } errors -} \ No newline at end of file +} diff --git a/Corefile.acme b/Corefile.acme index e0a1ae6..211ee07 100644 --- a/Corefile.acme +++ b/Corefile.acme @@ -1,5 +1,31 @@ -acme-dns.k7dxs.net { - forward . {$ACME_DNS_DNS_SERVICE_HOST} +. { + reload + git { + repo {$GIT_URL} + path . + branch master + interval 30 + } + acl { + allow net 127.0.0.0/8 + allow net 10.0.0.0/8 + allow net 172.16.0.0/12 + allow net 192.168.0.0/16 + allow net 74.207.242.178/32 + allow net 129.146.35.42/32 + allow net 65.101.184.219/32 + block type AXFR + block type IXFR + } + forward acme-dns.xaviera.systems {$ACME_DNS_DNS_SERVICE_HOST} + auto { + directory /etc/coredns/zones (.*).zone {1} + } + transfer { + to * + } + secondary biggeeks.org { + transfer from 65.101.184.209 + } + errors } - -import Corefile