fix mesh ipv6 routable subnet & .lf TLD AAAA record not created
This commit is contained in:
parent
86829c93a1
commit
0deb5787fd
2 changed files with 3 additions and 3 deletions
|
@ -71,7 +71,7 @@ in
|
||||||
matchConfig.Name = "mesh";
|
matchConfig.Name = "mesh";
|
||||||
address = [
|
address = [
|
||||||
"172.19.${toString myZone}.${toString myId}/17"
|
"172.19.${toString myZone}.${toString myId}/17"
|
||||||
"fc00::${toString myZone}:${toString myId}/112"
|
"fc00::${toString myZone}:${toString myId}/96"
|
||||||
];
|
];
|
||||||
routes = rtwg4 ++ rtwg6;
|
routes = rtwg4 ++ rtwg6;
|
||||||
};
|
};
|
||||||
|
|
|
@ -113,12 +113,12 @@ let
|
||||||
|
|
||||||
# Gen A records for lf zone
|
# Gen A records for lf zone
|
||||||
lfARecords = lib.flatten (lib.mapAttrsToList (hostname: node:
|
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);
|
) nodes);
|
||||||
|
|
||||||
# Gen AAAA records for lf zone
|
# Gen AAAA records for lf zone
|
||||||
lfAAAARecords = lib.flatten (lib.mapAttrsToList (hostname: node:
|
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);
|
) nodes);
|
||||||
|
|
||||||
# Gen first NS for SOA
|
# Gen first NS for SOA
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue