Skip to main content

A script that allows you to import a Bind zone file into your DNSimple account.

Project description

This script allows you to import a Bind zone file into your DNSimple account.

Installing

To install current version using pip, issue:

$ sudo pip install dnsimple-zoneimport

Usage

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.

Development

If you have checked out the source code, start the script with

python -m dnsimple_zoneimport.importer

Testing

To test, the pytest library is required:

$ pip install pytest

Then run the tests:

$ py.test

Sourcecode

The sourcecode is available on Github: https://github.com/wbrp/dnsimple-zoneimport

Coding Guidelines

PEP8 via flake8 with max-line-width set to 99 and E126-E128 ignored.

Versioning

This project uses Semantic Versioning.

License

The code is licensed under the MIT license. See LICENSE file for more details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dnsimple-zoneimport-0.1.1.tar.gz (5.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page