Browse Source

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

legacy
Astro 9 months ago
parent
commit
16d60e0dd3
  1. 4
      nix/nixos-module/container/dnscache.nix

4
nix/nixos-module/container/dnscache.nix

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

Loading…
Cancel
Save