ddclient/templates/ddclient.conf.j2
2023-03-12 20:49:31 +03:00

21 lines
368 B
Django/Jinja

daemon=300
syslog=yes
mail-failure=root
pid=/var/run/ddclient/ddclient.pid
ssl=yes
debug=yes
verbose=yes
{% for host in ddclient_hosts %}
use=web
web=checkip.dyndns.org
protocol=nsupdate
server={{ host.dns_ip }}
login=/usr/bin/nsupdate
password={{ '/config' if ddclient_containerized else '/etc'}}/Kvps.key
zone={{ host.domain }}
ttl=60
{{ host.name }}
{% endfor %}