Configure ddclient for namecheap

Problem: On this page namecheap guides on the subject, which works perfectly until you use multiple domains in a single /etc/ddclient.conf file and define multiple similar host names with different domain names.

What I mean is as follows:

use=web, web=dynamicdns.park-your-domain.com/getip
protocol=namecheap
server=dynamicdns.park-your-domain.com
login=domain1.com
password=your ddns password
www, @

use=web, web=dynamicdns.park-your-domain.com/getip
protocol=namecheap
server=dynamicdns.park-your-domain.com
login=domain2.com
password=your ddns password
www, @

In the above scenario, the ddclient will only update the first domain’s host names and will continue to ignore any host names below until they are different.

When I was unaware of the solution, I opened a ticket with them and went on support which was very good but in vain. I will also post this page’s link to the last reply to that ticket to request the namecheap support to update the “how to” page.

Solution: Simply put your complate domain with hot name as below:

use=web, web=dynamicdns.park-your-domain.com/getip
protocol=namecheap
server=dynamicdns.park-your-domain.com
login=domain1.com
password=your ddns password
www.domain1.com, @.domain1.com

use=web, web=dynamicdns.park-your-domain.com/getip
protocol=namecheap
server=dynamicdns.park-your-domain.com
login=domain2.com
password=your ddns password
www.domain2.com, @.domain2.com

Above solution is checked on ddclient (version 3.8.3).

Leave a Reply