Updating multiple domains with ddclient Updating multiple domains...

Topic: Updating multiple domains with ddclient

Post Updating multiple domains with ddclient
by Gert Ooms on 2017年5月18日

Is there a way to update multiple domains (3) with ddclient ?
and haw is this done ? by separating the domains with comma's (,) or by repeating the configuration multiple times.

oomsmeurrens.xyz is successfully updating, but once I add oomsmeurrens.eu and oomsmeurrens.be it gives me BADAUTH again.

not sure if this is possible with one ddclient

rgds
Gert

Reply with quote | Report
Post Re: Updating multiple domains with ddclient
by timothytw on 2017年5月18日

You can put the domain names in one configuration file, one on each line. It would look like this:

# ddclient configuration for Dynu
#
# /etc/ddclient.conf
daemon=60        # Check every 60 seconds.
syslog=yes        # Log update msgs to syslog.
mail=root        # Mail all msgs to root.
mail-failure=root        # Mail failed update msgs to root.
pid=/var/run/ddclient.pid        # Record PID in file.
use=web, web=checkip.dynu.com/, web-skip='IP Address'        # Get ip from server.
server=api.dynu.com        # IP update server.
protocol=dyndns2
login=myusername        # Your username.
password=YOURPASSWORD        # Password or MD5
MYDOMAIN1.COM        # List one or more hostnames one on each line.
MYDOMAIN2.COM
MYDOMAIN3.COM

Reply with quote | Report
2024年11月23日 22:00
Loading...