nix/lib/dns: update to up4 ipv6 addrs

This commit is contained in:
Astro 2021-06-02 20:07:56 +02:00
parent 45174545f2
commit ee0c996ddc
2 changed files with 2 additions and 3 deletions

View File

@ -186,8 +186,7 @@ rec {
name = "${net}.zentralwerk.org";
ns = publicNS;
records =
lib.optionals (hosts6 ? up1) (hosts6Records hosts6.up1) ++
lib.optionals (hosts6 ? up2) (hosts6Records hosts6.up2);
lib.optionals (hosts6 ? up4) (hosts6Records hosts6.up4);
}
]) namedNets
)

View File

@ -103,7 +103,7 @@ in
2a01:4f9:4b:39ec::4;
};
notify-source ${config.site.net.serv.hosts4.dns};
notify-source-v6 ${config.site.net.serv.hosts6.up1.dns};
notify-source-v6 ${config.site.net.serv.hosts6.up4.dns};
'' + lib.optionalString dynamic ''
allow-update { key "dyndns"; };
'';