diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-11-08 18:34:24 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-11-08 18:34:24 +0100 |
commit | cc2ea329b1bb2ac23ffcc64892e831e7978023e2 (patch) | |
tree | 1d1410115ed814d7105a2fa2c3df503fd391c20c | |
parent | 104c00ed08585b49a29665b0f43cca0377901528 (diff) | |
download | vyos-1x-cc2ea329b1bb2ac23ffcc64892e831e7978023e2.tar.gz vyos-1x-cc2ea329b1bb2ac23ffcc64892e831e7978023e2.zip |
ddclient: T1789: fix RFC2136 generated config
Commit 967067970494c1800f ("ddclient: T1030: adjust to latest syntax")
was under the impression that ddclient 3.9.0 now handles every config
item with a comma in the end. This is unfortunately not true on RFC2136
dynamic DNS entries.
Remove commas on config template.
-rwxr-xr-x | src/conf_mode/dynamic_dns.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/conf_mode/dynamic_dns.py b/src/conf_mode/dynamic_dns.py index 027a7f7e3..7c3b9ff6a 100755 --- a/src/conf_mode/dynamic_dns.py +++ b/src/conf_mode/dynamic_dns.py @@ -47,11 +47,11 @@ use=if, if={{ interface.interface }} {% for rfc in interface.rfc2136 -%} {% for record in rfc.record %} # RFC2136 dynamic DNS configuration for {{ record }}.{{ rfc.zone }} -server={{ rfc.server }}, -protocol=nsupdate, -password={{ rfc.keyfile }}, -ttl={{ rfc.ttl }}, -zone={{ rfc.zone }}, +server={{ rfc.server }} +protocol=nsupdate +password={{ rfc.keyfile }} +ttl={{ rfc.ttl }} +zone={{ rfc.zone }} {{ record }} {% endfor -%} {% endfor -%} |