Wednesday, April 1, 2015

Updating dynamic IP (A record) from a hosted zone on Amazon's Route53 (AWS R53)

One of my servers has a dynamic IP. I needed to update AWS R53 service to point at the new IP whenever it changes.

I found this script https://github.com/holgr/php-ddns53 which is a PHP script that you can put in cron to update R53 on a minute basis.

I installed it today, we'll see how it works.

I imagine that a better way to do it would be to use AWS to check if the domain is down (maybe because its pointing to the wrong IP), and in that case use this PHP script.

But this quick-n-dirty should be enough.

No comments:

Post a Comment