summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/dns.nix4
-rw-r--r--data/dns/db.orbekk.shared.zone1
2 files changed, 3 insertions, 2 deletions
diff --git a/config/dns.nix b/config/dns.nix
index 1f9e7e8..d0e67c0 100644
--- a/config/dns.nix
+++ b/config/dns.nix
@@ -97,8 +97,8 @@ in
continue
fi
echo "Copy zone $z"
- rm /var/run/named/$z.jnl || true
- rm /var/run/named/$z.jbk || true
+ rm /var/run/named/$(basename $z).jnl || true
+ rm /var/run/named/$(basename $z).jbk || true
cp -f $z /var/run/named/
done
echo "Done copying zone files"
diff --git a/data/dns/db.orbekk.shared.zone b/data/dns/db.orbekk.shared.zone
index 506703b..3cbe339 100644
--- a/data/dns/db.orbekk.shared.zone
+++ b/data/dns/db.orbekk.shared.zone
@@ -31,6 +31,7 @@ journal IN CNAME dragon.dynamic.orbekk.com.
grafana IN CNAME dragon.dynamic.orbekk.com.
nextcloud IN CNAME dragon.dynamic.orbekk.com.
money IN CNAME dragon.dynamic.orbekk.com.
+auth IN CNAME dragon.dynamic.orbekk.com.
;; Internal admin network
gw.nyc IN A 10.10.255.3