dnscache service: fix bug with several assigned DNS servers

This commit is contained in:
Nikolay Amiantov 2018-04-13 15:30:40 +03:00
parent c81e172468
commit 98270cb959

View File

@ -14,7 +14,7 @@ let
${concatStrings (mapAttrsToList (host: ips: ''
${concatMapStrings (ip: ''
echo ${lib.escapeShellArg ip} > "$out/servers/"${lib.escapeShellArg host}
echo ${lib.escapeShellArg ip} >> "$out/servers/"${lib.escapeShellArg host}
'') ips}
'') cfg.domainServers)}