Skip to content
Go utility to fetch external IP and update a Route53 RecordSet
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


This is a small utility to fetch the external IP of a client and update an A record in Route53 with the IP value.

I wrote this as a hack for basic dynamic DNS without signing up for anything other than AWS.


$ go get

$ R53_HOSTED_ZONE_ID=Z1234EXAMPLE R53_TTL=600 $GOBIN/r53dyndns
2015/10/13 23:17:17 external ip is:
2015/10/13 23:17:17 route53 update was a success.

Note: the AWS Go SDK assumes that you have your AWS credentials available in $HOME/.aws/credentials. More complex authentication, including using alternate IAM credentials, is left as an exercise for the reader.


These fine folks made similar tools that do roughly the same job. Sadly, none of them are written in Go.

You can’t perform that action at this time.