Tag Archives: cPanel

cPanel dynamic DNS update script

I have released a Perl script that you can run through cron that will do dynamic DNS updates to a cPanel hosted domain. It can be run through cron and will update an entry on a cPanel DNS zone when the internet facing IP of the machine running the script changes. This script is useful for people who have a cPanel account hosting their domain name and want to have an entry like home.domain.tld pointing to their DHCP home network IP (like me!). It will accept an IP as one of the parameter values, or it will autodetect the internet facing IP. You can find at https://github.com/paultrost/cpanel-dnsupdater, or the raw download here.