Wat
This commit is contained in:
parent
ee5e63de37
commit
d9d5652d6d
@ -68,8 +68,8 @@ let
|
|||||||
else
|
else
|
||||||
abort "unrecognized hostname: ${host}";
|
abort "unrecognized hostname: ${host}";
|
||||||
|
|
||||||
makeSrvRecords = protocol: service:
|
makeSrvRecords = protocol: service: records:
|
||||||
"records:joinLines" (map (record:
|
joinLines (map (record:
|
||||||
let fqdn = hostToFqdn record.host;
|
let fqdn = hostToFqdn record.host;
|
||||||
in "_${service}._${protocol} IN SRV ${toString record.priority} ${
|
in "_${service}._${protocol} IN SRV ${toString record.priority} ${
|
||||||
toString record.weight
|
toString record.weight
|
||||||
|
Loading…
Reference in New Issue
Block a user