From ee0c996ddc8b1574d36c3a9c61e6f10d2618b5d7 Mon Sep 17 00:00:00 2001 From: Astro Date: Wed, 2 Jun 2021 20:07:56 +0200 Subject: [PATCH] nix/lib/dns: update to up4 ipv6 addrs --- nix/lib/dns.nix | 3 +-- nix/nixos-module/container/dns.nix | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/nix/lib/dns.nix b/nix/lib/dns.nix index c16a4ae..7e9a38c 100644 --- a/nix/lib/dns.nix +++ b/nix/lib/dns.nix @@ -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 ) diff --git a/nix/nixos-module/container/dns.nix b/nix/nixos-module/container/dns.nix index 8d19076..b4c5510 100644 --- a/nix/nixos-module/container/dns.nix +++ b/nix/nixos-module/container/dns.nix @@ -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"; }; '';