From 2effd928d745b59ef10c1df4c94fcfdd67a93e4b Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Fri, 1 Jul 2022 01:15:45 +0100 Subject: [PATCH] nixos/estuary: Fix pdns forward-zones --- nixos/boxes/colony/vms/estuary/dns.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/boxes/colony/vms/estuary/dns.nix b/nixos/boxes/colony/vms/estuary/dns.nix index 1bc5ae8..abefc43 100644 --- a/nixos/boxes/colony/vms/estuary/dns.nix +++ b/nixos/boxes/colony/vms/estuary/dns.nix @@ -59,10 +59,10 @@ in lib.my.colony.prefixes.all.v4 lib.my.colony.prefixes.all.v6 ]; }; - forwardZones = genAttrs authZones (_: "127.0.0.1:5353"); settings = { query-local-address = [ "0.0.0.0" "::" ]; + forward-zones = map (z: "${z}=127.0.0.1:5353") authZones; # DNS NOTIFY messages override TTL allow-notify-for = authZones;