1. Charles McLaughlin
  2. dnsmigration


gratisdns.dk to route53 migration

migrate.py is a script to migrate DNS records from gratisdns.dk to route53.

Access to gratisdns is performed by the bundled gratisdns.py file, which came from:


Access to route53 is performed by the Area53 module:



A virtualenv is recommended. Run pip install -r requirements.txt to install the dependencies.

You'll also need a ~/.dnsmigration.rc file of this form:

access_key_id = ...
secret_access_key = ...

username = ...
password = ...


The only command line option is -r or --remove. That removes ALL records and zones from your route53 account and does not migrate any records from gratisdns. It's intended to clear out your route53 account while you're performing practice runs. Be careful with that!