summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorZen3515 <7106408+Zen3515@users.noreply.github.com>2023-05-12 16:33:09 +0700
committerZen3515 <7106408+Zen3515@users.noreply.github.com>2023-05-12 16:33:09 +0700
commit9fc53924271c151e3e5229a64acec35006d4f7fe (patch)
tree5f512baec56c71fc9296e7a1a11ce5e75cafa7d7 /data
parentc3f957b9bfc7233fe08d4dd65b80abf92097c81b (diff)
downloadvyos-1x-9fc53924271c151e3e5229a64acec35006d4f7fe.tar.gz
vyos-1x-9fc53924271c151e3e5229a64acec35006d4f7fe.zip
T5219: ddclient: Cloudflare doesn't require login
Diffstat (limited to 'data')
-rw-r--r--data/templates/dynamic-dns/ddclient.conf.j22
1 files changed, 2 insertions, 0 deletions
diff --git a/data/templates/dynamic-dns/ddclient.conf.j2 b/data/templates/dynamic-dns/ddclient.conf.j2
index c2c9b1dd6..e8ef5ac90 100644
--- a/data/templates/dynamic-dns/ddclient.conf.j2
+++ b/data/templates/dynamic-dns/ddclient.conf.j2
@@ -34,7 +34,9 @@ zone={{ config.zone }}
# DynDNS provider configuration for {{ service }}, {{ dns_record }}
protocol={{ config.protocol }},
max-interval=28d,
+{% if config.login is vyos_defined %}
login={{ config.login }},
+{% endif %}
password='{{ config.password }}',
{% if config.server is vyos_defined %}
server={{ config.server }},