Browse Source

nixos-module/container/dnscache: fix local forward-zones

master
Astro 4 months ago
parent
commit
16d60e0dd3
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      nix/nixos-module/container/dnscache.nix

+ 2
- 2
nix/nixos-module/container/dnscache.nix View File

@@ -61,9 +61,9 @@ lib.mkIf config.site.hosts.${hostName}.services.dnscache.enable {
61 61
       ${lib.concatMapStrings ({ name, ... }: ''
62 62
         forward-zone:
63 63
           name: "${name}"
64
-          forward-host: "${config.site.net.serv.hosts4.dns}"
64
+          forward-addr: "${config.site.net.serv.hosts4.dns}"
65 65
         ${lib.concatMapStrings (hosts6:
66
-          "  forward-host: ${hosts6.dns}\n"
66
+          "  forward-addr: ${hosts6.dns}\n"
67 67
         ) (builtins.attrValues config.site.net.serv.hosts6)}
68 68
       '') config.site.dns.localZones}
69 69
 

Loading…
Cancel
Save