From 6710dfde1b1d9b57f73ca467a137390987da441c Mon Sep 17 00:00:00 2001 From: "Romain DEP." Date: Sun, 26 Apr 2020 14:09:24 +0200 Subject: [PATCH] (template_srv) Let the user define the `service` part in full (as opposed to adding it automatically) This is consistent with re2o/machines/models.py --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 3cbd2a7..550ceee 100755 --- a/main.py +++ b/main.py @@ -42,7 +42,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}._{protocole}.{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}."