Awsdyndns is a dynamic dns tool that updates a Route53 hostname with the current public IP of the caller. The way I use awsdyndns is by installing it on a RaspberryPi and running the program on a 10 minute cron.
Public IP is obtained via ipify.
Download the latest release for your system, rename it to awsdyndns and put it into your path.
cd ~/Downloads curl -O https://github.com/jsfour/awsdyndns/releases/download/v1/awsdyndns-v1-darwin-amd64 chmod +x ./awsdyndns-v1-darwin-amd64 sudo mv ./awsdyndns-v1-darwin-amd64 /usr/local/bin/awsdyndns awsdyndns -h
Building from source
git clone firstname.lastname@example.org:jsfour/awsdyndns.git cd awsdyndns make all
AWS_SECRET_KEY from AWS. Make sure that this account has permissions to the Route53 zone that you want to modify.
Once you have configured the
AWS_SECRET_KEY environment variables just run
$ awsdyndns -d my.host.com. -z ZONEID // don't forget the trailing `.` on the hostname. Updating dns
$ awsdyndns -h Usage of awsdyndns: -d, --dnshostname string Hostname on the zone id to update -z, --zoneid string Route 53 zone id
Required environment variables: