From f12c0e4f426b3e07d6a0fb111a8e888d066d3bbd Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Mon, 10 Oct 2022 19:29:37 +0000 Subject: ddclient: T4743: Add option for IPv6 Dynamic DNS Allow to set IPv6 address for Dynamic DNS set service dns dynamic interface eth2 ipv6-enable --- data/templates/dynamic-dns/ddclient.conf.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data') 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 %} -- cgit v1.2.3