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