From 0deb5787fdd0f91e8e85d7513376345e07df3ca4 Mon Sep 17 00:00:00 2001 From: Asyncnomi Date: Sun, 27 Jul 2025 04:49:12 +0200 Subject: [PATCH] fix mesh ipv6 routable subnet & .lf TLD AAAA record not created --- shared/commons/mesh.nix | 2 +- shared/dns/knot.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/shared/commons/mesh.nix b/shared/commons/mesh.nix index 57503ac..0410816 100644 --- a/shared/commons/mesh.nix +++ b/shared/commons/mesh.nix @@ -71,7 +71,7 @@ in matchConfig.Name = "mesh"; address = [ "172.19.${toString myZone}.${toString myId}/17" - "fc00::${toString myZone}:${toString myId}/112" + "fc00::${toString myZone}:${toString myId}/96" ]; routes = rtwg4 ++ rtwg6; }; diff --git a/shared/dns/knot.nix b/shared/dns/knot.nix index a28deed..048f36f 100644 --- a/shared/dns/knot.nix +++ b/shared/dns/knot.nix @@ -113,12 +113,12 @@ let # Gen A records for lf zone lfARecords = lib.flatten (lib.mapAttrsToList (hostname: node: - lib.optional (supportsIPv4 node) "${hostToLfDomain hostname} IN A 172.19.${toString node.zone}.${toString node.id}" + "${hostToLfDomain hostname} IN A 172.19.${toString node.zone}.${toString node.id}" ) nodes); # Gen AAAA records for lf zone lfAAAARecords = lib.flatten (lib.mapAttrsToList (hostname: node: - lib.optional (supportsIPv6 node) "${hostToLfDomain hostname} IN AAAA fc00::${toString node.zone}:${toString node.id}" + "${hostToLfDomain hostname} IN AAAA fc00::${toString node.zone}:${toString node.id}" ) nodes); # Gen first NS for SOA