DNScode 0.1.9
Simplifying DNS configuration
Loading...
Searching...
No Matches
DNScode

Simplifying DNS Zone management


About

DNScode is a project to help simplify DNS zone management, when using plain text files with servers like BIND and NSD. It provides a framework for programmatically generating zone files with Python, allowing for more flexability, compared to other DNS as code solutions.

Installation

bash
# Create working directory
mkdir dnsproject
cd dnsproject
# Create virtual envrionment (optional, but highly recomended)
python3 -m venv .venv
source .venv/bin/activate
# Install the dnscode package
pip install dnscode

Usage

# dnsproject.py
import dnscode
zone = dnscode.Zone(origin='example.com') # Create zone object
Definition dnscode.py:204