|
|
|
@ -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}
|
|
|
|
|
|
|
|
|
|