Dynamic DNS Update Script

Digital Ocean dynamic DNS update script with Perl and LWP.

Supports updating multiple subdomains and wildcard A records and provides detailed timestamped logging to keep track of when your IP address changes as well as if there are any connectivity issues with the service.

This script will query an external service for your public IP, compare it with the IP address for the DNS record, and update the IP address (if it has changed) via the Digital Ocean DNS API.

This is useful in cases where you have a server on your home connection which may get a new IP address from time to time.

by: Chris Handwerker May 23, 2016 DNS Perl API