v6 is handled...roughly
This commit is contained in:
parent
c1c67ecc80
commit
38640140c8
|
@ -14,7 +14,6 @@ in {
|
||||||
domainName = config.instance.local-domain;
|
domainName = config.instance.local-domain;
|
||||||
zoneName = config.fudo.domains."${domainName}".zone;
|
zoneName = config.fudo.domains."${domainName}".zone;
|
||||||
isLocal = network: network == "::1" || hasPrefix "127." network;
|
isLocal = network: network == "::1" || hasPrefix "127." network;
|
||||||
# FIXME: ipv6?
|
|
||||||
localNetworks =
|
localNetworks =
|
||||||
filter (network: !(isLocal network)) config.instance.local-networks;
|
filter (network: !(isLocal network)) config.instance.local-networks;
|
||||||
makeName = network:
|
makeName = network:
|
||||||
|
|
Loading…
Reference in New Issue