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"}