protocol => protocole

This commit is contained in:
Pierre-Elliott Bécue 2018-09-16 15:34:01 +02:00
parent 19466c5f1f
commit 2abba256b2
No known key found for this signature in database
GPG key ID: 29BFA0D079290ACA

View file

@ -35,7 +35,7 @@ template_originv6 = "@ IN AAAA {ipv6}"
template_ns = "@ IN NS {target}."
template_mx = "@ IN MX {priority} {target}."
template_txt = "{field1} IN TXT {field2}"
template_srv = "_{service}._{protocol}.{zone} {ttl} IN SRV {priority} {weight} {port} {target}"
template_srv = "_{service}._{protocole}.{zone} {ttl} IN SRV {priority} {weight} {port} {target}"
template_a = "{hostname} IN A {ipv4}"
template_aaaa = "{hostname} IN AAAA {ipv6}"
template_cname = "{hostname} IN CNAME {alias}."
@ -155,7 +155,7 @@ def write_dns_file(zone):
srv_records = "\n".join(
template_srv.format(
service=x['service'],
protocol=x['protocol'],
protocole=x['protocole'],
zone=zone_name,
ttl=x['ttl'],
priority=x['priority'],