summaryrefslogtreecommitdiff
path: root/data/templates/dynamic-dns/ddclient.conf.tmpl
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2022-10-10 19:29:37 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2022-10-10 19:29:37 +0000
commitf12c0e4f426b3e07d6a0fb111a8e888d066d3bbd (patch)
tree834271bda3a9f31b3986806175936b5f92a37907 /data/templates/dynamic-dns/ddclient.conf.tmpl
parent8560c1cc38f9104fe0d12fe72e0312c52afa9c08 (diff)
downloadvyos-1x-f12c0e4f426b3e07d6a0fb111a8e888d066d3bbd.tar.gz
vyos-1x-f12c0e4f426b3e07d6a0fb111a8e888d066d3bbd.zip
ddclient: T4743: Add option for IPv6 Dynamic DNS
Allow to set IPv6 address for Dynamic DNS set service dns dynamic interface eth2 ipv6-enable
Diffstat (limited to 'data/templates/dynamic-dns/ddclient.conf.tmpl')
-rw-r--r--data/templates/dynamic-dns/ddclient.conf.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/dynamic-dns/ddclient.conf.tmpl b/data/templates/dynamic-dns/ddclient.conf.tmpl
index 9d379de00..517e4bad4 100644
--- a/data/templates/dynamic-dns/ddclient.conf.tmpl
+++ b/data/templates/dynamic-dns/ddclient.conf.tmpl
@@ -9,7 +9,7 @@ ssl=yes
{% set web_skip = ", web-skip='" + interface[iface].use_web.skip + "'" if interface[iface].use_web.skip is defined else '' %}
use=web, web='{{ interface[iface].use_web.url }}'{{ web_skip }}
{% else %}
-use=if, if={{ iface }}
+{{ 'usev6=if' if interface[iface].ipv6_enable is defined else 'use=if' }}, if={{ iface }}
{% endif %}
{% if interface[iface].rfc2136 is defined and interface[iface].rfc2136 is not none %}