My ISP provides me with a dynamic IP address.
On occasion the connection drops and I receive a new IP address.
To connect back to my home servers, I need a hostname that updates when my home IP changes.
My domains are hosted with AWS Route53.
AWS allows programmatically updating Route53 hosted zones via the command line using the AWS CLI utility.
Additionally, AWS provides a convenient endpoint for finding the current IP address.
After installing the AWS CLI tool on a small Linux server within my home network, I’ve set up the following script to be run regularly via cron.