A simple library for managing DNS zones.
Project description
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.8.tar.gz
(10.6 kB
view hashes)
Built Distribution
Close
Hashes for localzone-0.9.8-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 123a917c59d7e488152ff98d37ebf5af7a2949a4cdad7edecc9f5a91b8186d47 |
|
MD5 | 33f52b5b3cf2a93fc093f9b2052a2bc8 |
|
BLAKE2-256 | 90b776759d7eb2aba44dee5e7ef754c90dbc85a24d3a1c099b21c8867ea90028 |