Skip to content
Update DNS records dynamically with Amazon Route 53
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.

Dyn 53

Use amazon Route 53 as a Dyn DNS provider

Run the command manually or schedule it in a Cron, the choice is up to you

dyn53.phar update --domain="" --ip=""

With this tool you control your records, you can manage any domain from anywhere. (as long as you have access to do so)

If the record you are trying to update doesn't exist, it will create it as an A record with a TTL of 60 seconds.

This service only supports IPV4, support for IPV6 is not planned for the moment.


All the options below can be specified in a configuration file in the ini format


key = "my_key"
secret = "my_secret"

Options for all commands

  • config: absolute path to a configuration file (.ini format, optional)
  • key: your Amazon Web Services key
  • secret: your Amazon Web Services secret


Updates the domain if the detected IP address changed


  • zone: the Amazone Route 53 zone ID
  • domain: the domain to update
  • ip: An ip to set (optional)
  • policy: How to detect the IP address (uses by default)


//forced IP
dyn53.phar update --key="my_key" --secret="my_secret" --zone="/hostedzone/Z3EW3A21XNEPC8" --domain="" --ip=""

//automatic IP detection
dyn53.phar update --key="my_key" --secret="my_secret" --zone="/hostedzone/Z3EW3A21XNEPC8" --domain=""

//configuration file

-> /etc/dyn53.ini
key = "my_key"
secret = "my_secret"
zone = "/hostedzone/Z3EW3A21XNEPC8"

dyn53.phar update --config="/etc/dyn53.ini" --domain=""


List all the available zones in your Amazon Web services account

dyn53.phar list --config="/etc/dyn53.ini"

| Name         | ID                         |
| | /hostedzone/Z3EW3A21XZEPC8 |


if you want to add a functionality or discover a bug; fill an issue or create a pull request. I would be happy to help.

You can’t perform that action at this time.