Wat
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user