dnscache service: fix bug with several assigned DNS servers
This commit is contained in:
@@ -14,7 +14,7 @@ let
|
|||||||
|
|
||||||
${concatStrings (mapAttrsToList (host: ips: ''
|
${concatStrings (mapAttrsToList (host: ips: ''
|
||||||
${concatMapStrings (ip: ''
|
${concatMapStrings (ip: ''
|
||||||
echo ${lib.escapeShellArg ip} > "$out/servers/"${lib.escapeShellArg host}
|
echo ${lib.escapeShellArg ip} >> "$out/servers/"${lib.escapeShellArg host}
|
||||||
'') ips}
|
'') ips}
|
||||||
'') cfg.domainServers)}
|
'') cfg.domainServers)}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user