Compare commits
No commits in common. "5d97e85bf6a6ac3dfeb3ceb7cf107bc2c8bea489" and "90c9c9dd13ec5fe0ad1d1e7f09c84d7d9f209529" have entirely different histories.
5d97e85bf6
...
90c9c9dd13
|
@ -10,7 +10,6 @@ rec {
|
||||||
publicNS = [ "ns.c3d2.de" "ns.spaceboyz.net" ];
|
publicNS = [ "ns.c3d2.de" "ns.spaceboyz.net" ];
|
||||||
|
|
||||||
dynamicReverseZones = [
|
dynamicReverseZones = [
|
||||||
"73.20.172.in-addr.arpa"
|
|
||||||
"74.20.172.in-addr.arpa"
|
"74.20.172.in-addr.arpa"
|
||||||
"75.20.172.in-addr.arpa"
|
"75.20.172.in-addr.arpa"
|
||||||
"76.20.172.in-addr.arpa"
|
"76.20.172.in-addr.arpa"
|
||||||
|
@ -65,18 +64,16 @@ rec {
|
||||||
) {} (builtins.attrValues namedNets);
|
) {} (builtins.attrValues namedNets);
|
||||||
|
|
||||||
# `[ "0.0.127.in-addr.arpa" ]`
|
# `[ "0.0.127.in-addr.arpa" ]`
|
||||||
reverseZones4 = lib.unique (
|
reverseZones4 = builtins.attrNames (
|
||||||
builtins.attrNames (
|
builtins.foldl' (result: rname:
|
||||||
builtins.foldl' (result: rname:
|
let
|
||||||
let
|
zone = builtins.head (
|
||||||
zone = builtins.head (
|
builtins.match "[[:digit:]]+\\.(.+)" rname
|
||||||
builtins.match "[[:digit:]]+\\.(.+)" rname
|
);
|
||||||
);
|
in result // {
|
||||||
in result // {
|
"${zone}" = true;
|
||||||
"${zone}" = true;
|
}
|
||||||
}
|
) {} (builtins.attrNames reverseHosts4)
|
||||||
) {} (builtins.attrNames reverseHosts4)
|
|
||||||
) ++ dynamicReverseZones
|
|
||||||
);
|
);
|
||||||
|
|
||||||
# turns `::` into `0000:0000:0000:0000:0000:0000:0000:0000`
|
# turns `::` into `0000:0000:0000:0000:0000:0000:0000:0000`
|
||||||
|
|
|
@ -98,7 +98,6 @@ in
|
||||||
217.197.84.53;
|
217.197.84.53;
|
||||||
2001:67c:1400:2240::a;
|
2001:67c:1400:2240::a;
|
||||||
# ns.spaceboyz.net
|
# ns.spaceboyz.net
|
||||||
172.22.24.4;
|
|
||||||
95.217.229.209;
|
95.217.229.209;
|
||||||
2a01:4f9:4b:39ec::4;
|
2a01:4f9:4b:39ec::4;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue