summaryrefslogtreecommitdiff
path: root/data/templates/dynamic-dns/ddclient.conf.tmpl
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-10-18 18:14:56 +0200
committerGitHub <noreply@github.com>2021-10-18 18:14:56 +0200
commitc3a65c60cfc854113a9af371f37fba6eb71ad05e (patch)
treeea368cee60a3c798f94ba5210477b9079195d83d /data/templates/dynamic-dns/ddclient.conf.tmpl
parent56810c62f91d3f11e23b2836bb4d14db6ec8ce25 (diff)
parent35aeea69c62a1755595d34b856d03f58cdd2da4c (diff)
downloadvyos-1x-c3a65c60cfc854113a9af371f37fba6eb71ad05e.tar.gz
vyos-1x-c3a65c60cfc854113a9af371f37fba6eb71ad05e.zip
Merge pull request #1022 from sever-sever/T3897
ddclient: T3897: Add option for IPv6 Dynamic DNS
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 %}