Skip to main content

A simple library for managing DNS zones.

Project description

Project link: localzone (calzone image by sobinsergey from the Noun Project)

A low-calorie library for managing DNS zones

import localzone

with localzone.manage("db.example.com") as z:
    r = z.add_record("greeting", "TXT", "hello, world!")
    r.name    # the record name, i.e. "greeting"
    r.rdtype  # the record type, i.e. "TXT"
    r.content # the record content, i.e. "hello," "world!"

Powered by dnspython.

Features

  • A simple API focused on managing resource records in local zone files

  • Support for almost all resource record types

  • Auto-save and auto-serial

  • Built for automation

Installing localzone

$ pip install localzone

Raison d’être

Comprehensive, low-level DNS toolkits can be cumbersome for the more common zone management tasks–especially those related to making simple changes to zone records. They can also come with a steep learning curve. Enter localzone: a simple library for managing DNS zones. While localzone may be a low-calorie library, it’s stuffed full of everything that a hungry hostmaster needs.

License

  • BSD

  • Calzone image by sobinsergey from the Noun Project

Where did the calories go? The likely suspect.

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

localzone-0.9.4.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

localzone-0.9.4-py2.py3-none-any.whl (9.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file localzone-0.9.4.tar.gz.

File metadata

  • Download URL: localzone-0.9.4.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for localzone-0.9.4.tar.gz
Algorithm Hash digest
SHA256 500af7367fc99d5a4705f7a90bcc4f4fa96f5dfcfabf7117d74f3c49f5c90dac
MD5 9ad69709ec3c80220b258120d3c9163d
BLAKE2b-256 a808d216b95aa3f3b65733728b14bba839329d1d4d64d2a344809b9986a81fa2

See more details on using hashes here.

File details

Details for the file localzone-0.9.4-py2.py3-none-any.whl.

File metadata

  • Download URL: localzone-0.9.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for localzone-0.9.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a34f87e871f251ae7b5dfd8a2584e68476aa84370940c78ab7334e926c3a8a97
MD5 71d4b43d897fe33f55bf88cdbe57c518
BLAKE2b-256 73ef4dc8c1732a95f6f63d84f205a153abe5d18c3d45434dbdcd490ae3f9a113

See more details on using hashes here.

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