forked from zentralwerk/network
lib/dns: don't filter for up*
This commit is contained in:
parent
ffc4c56730
commit
bf9e28c5dc
|
@ -131,9 +131,7 @@ rec {
|
|||
domain =
|
||||
if ctx == "dn42"
|
||||
then "${net}.zentralwerk.dn42"
|
||||
else if builtins.match "up.*" ctx != null
|
||||
then namedNets.${net}.domainName
|
||||
else throw "Invalid IPv6 context: ${ctx}";
|
||||
else namedNets.${net}.domainName;
|
||||
in
|
||||
lib.recursiveUpdate result {
|
||||
"${ipv6ToReverse hosts.${host}}" = "${host}.${domain}";
|
||||
|
@ -214,9 +212,7 @@ rec {
|
|||
ns =
|
||||
if ctx == "dn42"
|
||||
then internalNS
|
||||
else if builtins.match "up.*" ctx != null
|
||||
then publicNS
|
||||
else throw "Invalid IPv6 context: ${ctx}";
|
||||
else publicNS;
|
||||
records =
|
||||
map (reverse: {
|
||||
name = builtins.substring 0 ((128 - reverseZone6Size) / 2 - 1) reverse;
|
||||
|
|
Loading…
Reference in New Issue
Block a user