This script allows you to import a Bind zone file into your DNSimple account.
To install current version using pip, issue:
$ sudo pip install dnsimple-zoneimport
dnsimple_zoneimport --help
:
DNSimple Zone File Importer. Usage: dnsimple_zoneimport -e <email> -t <api-token> <zonefile> dnsimple_zoneimport -h | --help dnsimple_zoneimport -v | --version Options: -e DNSimple email address. -t DNSimple API token (see https://dnsimple.com/account). -h --help Show this screen. -v --version Show version.
If you have checked out the source code, start the script with
python -m dnsimple_zoneimport.importer
To test, the pytest library is required:
$ pip install pytest
Then run the tests:
$ py.test
The sourcecode is available on Github: https://github.com/wbrp/dnsimple-zoneimport
PEP8 via flake8 with max-line-width set to 99 and E126-E128 ignored.
This project uses Semantic Versioning.
The code is licensed under the MIT license. See LICENSE file for more details.