protocol => protocole

parent 4e04cfb8
......@@ -23,7 +23,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}"
......@@ -100,7 +100,7 @@ def write_dns_files(api_client):
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'],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment