Skip to main content

tdnss

A Python API wrapper for Technitium DNS Server's HTTP API.

Notice

This project is a work in progress. A list of features will be added, for now some basic methods of API such as login/logout are implemented, with work on the zone API and the settings API is ongoing.

Any feedback is welcome!

Why?

TL;DR: the main reason I use this DNS server is its API, since it gives full control over the server without having to login to the web console. The idea is that scripts/CLIs/other tools can be built upon a library that wraps the API.

Installation

The tdnss package is available on PyPI.

For development, use the provided Pipfile:

pipenv install --dev

This creates a virtual environment, installs the dependencies to run the package, the development tools, and the package itself as an editable dependency in order to test the changes live.

If you don't use Pipenv, there's a requirements.txt provided to install runtime dependencies and a requirements-dev.txt to install development tools and tdnss as an editable package.

Contributing

Do you want to contribute to this project? Great! We welcome any contributions, from code to documentation through feedback. Read CONTRIBUTING for more information.

License

This project is licensed under the GNU General Public License v3.0 only.

See COPYING to see the full text.

Versioning

This project follows Semantic Versioning 2.0.0.

Release files for tdnss 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tdnss 0.2.1
File Size Uploaded
tdnss-0.2.1.tar.gz 34.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tdnss 0.2.1
File Interpreter ABI Platform
tdnss-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 60.7 kB

Release files / tdnss-0.2.1.tar.gz

Download URL tdnss-0.2.1.tar.gz
Size 34.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e54c7fcb2f85fc8824322a66e158820c8a5c9596034884be543ad00d500d7289
BLAKE2b-256 checksum
How to use checksums
b46b934191f795973978938890a01aa5b16d5f46e09aa2084db91c6091f4246d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / tdnss-0.2.1-py3-none-any.whl

Download URL tdnss-0.2.1-py3-none-any.whl
Size 26.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4e363313dd0ec3da981a8957c337123165e2e8bc0eecc89327a495b7d8f5ee9e
BLAKE2b-256 checksum
How to use checksums
ef86ff223ff5c29b912b55e7f20fde8f873655fb0be75e99e8f1870f3e3695d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page