1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
|
.. localzone documentation master file, created by
sphinx-quickstart on Thu Nov 1 16:04:50 2018.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
.. include:: 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
Indices and tables
==================
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
.. toctree::
:maxdepth: 2
:caption: Documentation:
:hidden:
modules
changelog
Where did the calories go? The likely `suspect <https://www.traegergrills.com/recipes/pork/meat-lovers-calzone-smoked-marinara>`_.
|