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