Overview

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:

http://code.google.com/p/python-gratisdns/

Access to route53 is performed by the Area53 module:

https://github.com/mariusv/Area53/

setup

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:

[aws]
access_key_id = ...
secret_access_key = ...

[gratisdns]
username = ...
password = ...

usage

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!