Route53 Dynamic DNS Zone Update

Like most people, I have used multiple services and approaches over the years where I wanted to dynamically assign a zone to my home public IP without buying static IP addresses.

While there are many products that fill this space, that drove me to write my own script.

  1. I wanted to update Route53 directly as I was using the service I did not want to move away from it to another product with DDNS.
  2. I wanted to use A records, CNAME’ scould cause problems in some scenarios
  3. I did not want to purchase any additional subscriptions, services or software
  4. I wanted this to be application agnostic 

As a result, I wrote this in Python using only requests and boto3

The script checks your IP address at whatever frequency you schedule and records it in a log file, only updating the DNS zones in the case of a change.

The readme should be self-explanatory.

https://github.com/Tankfurter/route53_ddns: Route53 Dynamic DNS Zone Update


Leave a Reply

Your email address will not be published. Required fields are marked *