mirror of
https://gitea.0xace.cc/ansible-galaxy/ddclient.git
synced 2025-07-12 18:13:07 +00:00
first commit
This commit is contained in:
20
templates/ddclient.conf.j2
Normal file
20
templates/ddclient.conf.j2
Normal file
@ -0,0 +1,20 @@
|
||||
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 %}
|
Reference in New Issue
Block a user