forked from zentralwerk/network
nixos-module/container/dnscache: fix local forward-zones
This commit is contained in:
parent
c70cb80a78
commit
16d60e0dd3
|
@ -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…
Reference in New Issue
Block a user