Skip to main content

A simple library for managing DNS zones.

Project description


.. include:: docs/logo.rst

A low-calorie library for managing DNS zones
============================================

.. code:: python

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 <https://pypi.org/project/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
--------------------

.. code-block:: shell

$ 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 <https://www.traegergrills.com/recipes/pork/meat-lovers-calzone-smoked-marinara>`_.


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.5.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

localzone-0.9.5-py2.py3-none-any.whl (9.4 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: localzone-0.9.5.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.5.tar.gz
Algorithm Hash digest
SHA256 4663705ab79ebe3918415b87d1015426006b8854bef6898821dd60371b13e4e7
MD5 e0c8f1525131f7243d0781186a3a52b0
BLAKE2b-256 173f54986ca3bd8904fe3c39a71d642d8778adb81b893f4fb15265fe9e5b6e35

See more details on using hashes here.

File details

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

File metadata

  • Download URL: localzone-0.9.5-py2.py3-none-any.whl
  • Upload date:
  • Size: 9.4 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.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8ab9dcfed545a5a11f87faa23cfaec2ae3b9aef5a7743c5ef3184afda87c4e79
MD5 b53870204336b6352e5d36bb83299fc8
BLAKE2b-256 974a5865669de0822a959ae477e28952f7b543108c6688af6cfd8e22410d0bbd

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