From 053d3181ea20c86b62043ec222941627daa288c4 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Sat, 27 Aug 2022 22:39:01 +0200 Subject: Move config directory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- kyriasis.com.zone | 28 ++++++++++++++-------------- named.conf | 5 ++--- 2 files changed, 16 insertions(+), 17 deletions(-) diff --git a/kyriasis.com.zone b/kyriasis.com.zone index ec41d2d..e43cacf 100644 --- a/kyriasis.com.zone +++ b/kyriasis.com.zone @@ -2,12 +2,12 @@ $ORIGIN kyriasis.com. $TTL 24h -@ IN SOA theos.kyriasis.com. hostmaster ( - 2013 ; serial - 24h ; refresh - 2h ; retry - 1w ; expire - 4h ; minttl +@ IN SOA ns1.kyriasis.com. hostmaster.kyriasis.com ( + 2208272237 ; serial + 24h ; refresh + 2h ; retry + 1w ; expire + 4h ; minttl ) NS ns1 NS ns2 @@ -119,13 +119,13 @@ _imap._tcp SRV 0 0 143 theos _imaps._tcp SRV 0 0 993 theos ;; TLSA -$INCLUDE "/home/kyrias/dns/letsencrypt-tlsa.zone" _443._tcp.kyriasis.com. -$INCLUDE "/home/kyrias/dns/letsencrypt-tlsa.zone" _443._tcp.theos.kyriasis.com. +$INCLUDE "dns/letsencrypt-tlsa.zone" _443._tcp.kyriasis.com. +$INCLUDE "dns/letsencrypt-tlsa.zone" _443._tcp.theos.kyriasis.com. -$INCLUDE "/home/kyrias/dns/letsencrypt-tlsa.zone" _25._tcp.theos.kyriasis.com. -$INCLUDE "/home/kyrias/dns/letsencrypt-tlsa.zone" _587._tcp.theos.kyriasis.com. -$INCLUDE "/home/kyrias/dns/letsencrypt-tlsa.zone" _143._tcp.theos.kyriasis.com. -$INCLUDE "/home/kyrias/dns/letsencrypt-tlsa.zone" _993._tcp.theos.kyriasis.com. +$INCLUDE "dns/letsencrypt-tlsa.zone" _25._tcp.theos.kyriasis.com. +$INCLUDE "dns/letsencrypt-tlsa.zone" _587._tcp.theos.kyriasis.com. +$INCLUDE "dns/letsencrypt-tlsa.zone" _143._tcp.theos.kyriasis.com. +$INCLUDE "dns/letsencrypt-tlsa.zone" _993._tcp.theos.kyriasis.com. ;; Google Postmaster Tools @ TXT "google-site-verification=Fj3Hc-7_JPc6WlEF_TMwYTGStln3kuz8vTJsMgoyKA8" @@ -177,5 +177,5 @@ arch NS ns1.he.net. NS ns5.he.net. -$INCLUDE "/home/kyrias/dns/lucifer.kyriasis.com.zone" -$INCLUDE "/home/kyrias/dns/_openpgpkey.kyriasis.com.zone" +$INCLUDE "dns/lucifer.kyriasis.com.zone" +$INCLUDE "dns/_openpgpkey.kyriasis.com.zone" diff --git a/named.conf b/named.conf index a8e0d52..fe78450 100644 --- a/named.conf +++ b/named.conf @@ -2,6 +2,7 @@ options { directory "/var/named"; + key-directory "keys"; pid-file "/run/named/named.pid"; auth-nxdomain yes; datasize default; @@ -23,7 +24,7 @@ options { zone "kyriasis.com" IN { type master; - file "/home/kyrias/dns/kyriasis.com.zone"; + file "dns/kyriasis.com.zone"; allow-transfer { 178.79.157.58; // lucifer 2a01:7e00::f03c:91ff:fe69:1787; // lucifer @@ -32,8 +33,6 @@ zone "kyriasis.com" IN { }; notify explicit; - key-directory "/home/kyrias/dns/keys"; - # publish and activate dnssec keys auto-dnssec maintain; -- cgit v1.2.3-70-g09d2