From 1ddd61642de2fd83819ea437ec532b9b93961983 Mon Sep 17 00:00:00 2001 From: surtur Date: Sat, 2 Dec 2023 21:33:52 +0100 Subject: [PATCH] coredns: fix NS records --- nix/modules/coredns.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/nix/modules/coredns.nix b/nix/modules/coredns.nix index 00a008b..d1330ea 100644 --- a/nix/modules/coredns.nix +++ b/nix/modules/coredns.nix @@ -68,11 +68,13 @@ in { 1m ; expiry 1m ) ; minimum ttl - 5m IN NS ${p."eth/loki"}. - 5m IN NS ${p."wlan/loki"}. - 5m IN NS ${p."eth/carina"}. - 5m IN NS ${p."wlan/carina"}. + 5m IN NS ns0.${domain}. + 5m IN NS ns1.${domain}. + 5m IN NS ns2.${domain}. + 5m IN NS ns3.${domain}. + 5m IN NS ns4.${domain}. + ns0 5m IN A ${p."eth/nixpi"} ns1 5m IN A ${p."eth/carina"} ns2 5m IN A ${p."eth/loki"} ns3 5m IN A ${p."wlan/loki"}