07
December
This has been tested on Raspberry pi but should work on any Linux system. When this script is run it will update your WAN IP address with DynDNS providers. In this example we used changeip.com and Google Domains and we have a secondary Google Domain added. Feel free to copy and paste the following script.
#DynDNS updater
daemon=300 # check every 5 min
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.
#tell ddclient how to get your ip address
use=web, web=ip.changeip.com
#DynDNS provide by changeip.com
protocol=dyndns2
server=nic.changeip.com
login=your@account.com
#change this
password=YourPassword #change this
#specify the domain to update
#for changeip.com, this can also be *1 or *2
# for your "DynSets"
customname.myprovideddomain.com #change this
#DynDNS provided by Google Domains
protocol=googledomains
server=domains.google.com
ssl=yes
login=ProvidedLogin #change this
password=ProvidedPassword #change this
customname.mycustomdomain.com
#change this
#DynDNS secondary domain provided by Google Domains
protocol=googledomains
server=domains.google.com
ssl=yes
login=ProvidedLogin #change this
password=ProvidedPassword #change this
customname.mycustomdomain.com #change this