summaryrefslogtreecommitdiff
path: root/data/templates/dynamic-dns
diff options
context:
space:
mode:
authorViacheslav <v.gletenko@vyos.io>2021-10-11 06:32:07 +0000
committerViacheslav <v.gletenko@vyos.io>2021-10-18 15:25:20 +0000
commit35aeea69c62a1755595d34b856d03f58cdd2da4c (patch)
tree4077d6370136d98e37686c2b42719a665c5ec8aa /data/templates/dynamic-dns
parentadc7ef387d40e92bd7163ee6b401e99e554394a3 (diff)
downloadvyos-1x-35aeea69c62a1755595d34b856d03f58cdd2da4c.tar.gz
vyos-1x-35aeea69c62a1755595d34b856d03f58cdd2da4c.zip
ddclient: T3897: Add option for IPv6 Dynamic DNS
Diffstat (limited to 'data/templates/dynamic-dns')
-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 %}