summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2022-08-27 22:39:01 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2022-08-27 22:39:01 +0200
commit053d3181ea20c86b62043ec222941627daa288c4 (patch)
tree0d97f4a2d377da132e1091d60d191dfa8ff2729c
parent95ef6cb2a0284c42a6f0b8e5c0e4adff6cde9985 (diff)
downloaddns-053d3181ea20c86b62043ec222941627daa288c4.tar.xz
Move config directory
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-rw-r--r--kyriasis.com.zone28
-rw-r--r--named.conf5
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;