Imports RFC1035 zone files into your Gandi.net account
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.rst
zone-import.py

README.rst

Zone import

Imports a list of RFC1035 zone files into a Gandi.net account.

You will need your account's API key (see http://wiki.gandi.net/en/xml-api/activate)

Usage

python zone-import.py [-k apikey] [--ote] first-zone.txt second-zone.txt […]

Script will ask for your API key if not provided in arguments.

Each zone will be name from its file name.

Limitations

There is currently no check on the zone name, so running the script multiple times will currently create "duplicates" in your interface.

Requirements

  • python 2.7 standard library