Google Domains Dynamic DNS and DDClient 3.8.2
Recently switched my domain registrar over to Google Domains and wanted to take advantage of their built-in dynamic DNS capability rather than using a third-party service. This simplifies my configuration and points a subdomain configured on G Domains directly to my internal network. To get this working, I needed a client running inside the network to update the dynDNS record. I decided to go with DDClient on Debian Linux since I already have PiHole running 24/7 in a VM.
DDClient documentation states that the "googledomains" protocol is supported as of revision 171, but a quick apt-get install of the daemon only gave me v3.8.2. I was able to get it up and running (after setting up a synthetic record on G Domains) by using the below in my ddclient config file:
Once you've saved the config file, run the below to restart the ddclient daemon and then be sure an update is forced.
DDClient documentation states that the "googledomains" protocol is supported as of revision 171, but a quick apt-get install of the daemon only gave me v3.8.2. I was able to get it up and running (after setting up a synthetic record on G Domains) by using the below in my ddclient config file:
# Configuration file for ddclient generated by debconf
# /etc/ddclient.conf
protocol=dyndns2
use=web
server=domains.google.com
ssl=yes
login=yourusername
password='yourpassword'
subdomain.yourdomain.com
Once you've saved the config file, run the below to restart the ddclient daemon and then be sure an update is forced.
service ddclient restart
ddclient -force
Comments
Post a Comment