Skip to main content

PowerDNS Authoritative API client

Project description

powerdns-cli

A command line interface to interact with the Powerdns Authoritative Nameserver.

This project is currently in alpha phase and will soon progress to a beta stage. Beta release will be done as soon as integration tests and python version tests are successful.

Implemented features are:

  • Everything around zone manipulation (creating zones, records and so forth)
  • Exporting and searching current zone configuration
  • Accessing server configuration and statistics

Planned features are:

  • Importing bind zone files
  • Managing DNSSec-Keys

Features for the unforseeable future:

  • Management specific for master / slave nodes

Installation

Installation is available through pypi.org:

pip install powerdns-cli

Or you use this repositories-main branch for the latest version:

git clone https://github.com/IamLunchbox/powerdns-cli
python3 powerdns-cli/powerdns_cli/powerdns_cli.py

Todos

Before further features are developed, the following things are on my roadmap:

  1. Integration test through github-actions
  2. Version tests in tox
  3. A powerdns ansible modules which has similar features to this one
  4. unit-tests - possibly in conjunction with 3

API-Spec coverage

Path Covered Planned
autoprimary :x: :grey_question:
config :heavy_check_mark: :heavy_check_mark:
search :heavy_check_mark: :heavy_check_mark:
servers :x: :grey_question:
stats :heavy_check_mark: :heavy_check_mark:
tsigkey :x: :heavy_check_mark:
zonecryptokey :x: :heavy_check_mark:
zonemetadata :x: :grey_question:
zones :heavy_check_mark: :heavy_check_mark:

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

powerdns_cli-0.0.5.tar.gz (18.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

powerdns_cli-0.0.5-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

File details

Details for the file powerdns_cli-0.0.5.tar.gz.

File metadata

  • Download URL: powerdns_cli-0.0.5.tar.gz
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for powerdns_cli-0.0.5.tar.gz
Algorithm Hash digest
SHA256 f91d9abb6505be64f39197d2c220e3d96e045f9195afb2b7ce658f71c53b7b81
MD5 0306c904c19a5526224b94484607b8df
BLAKE2b-256 619d6185892283d85a56b8604739d38eb17238de30ff5fa0bf043a57885eb564

See more details on using hashes here.

Provenance

The following attestation bundles were made for powerdns_cli-0.0.5.tar.gz:

Publisher: python-publish.yml on IamLunchbox/powerdns-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file powerdns_cli-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: powerdns_cli-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 19.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for powerdns_cli-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 686528828709d03b9769ee8b6b11629cfcf349340e781f416c5caa89398cd9fd
MD5 99d098fef3b4d8fa75f70ffe8db0c7f2
BLAKE2b-256 ae04797d74867e0b0abc7d64adf697b9a4bed6c4d62f4ffc239174a2bb573c23

See more details on using hashes here.

Provenance

The following attestation bundles were made for powerdns_cli-0.0.5-py3-none-any.whl:

Publisher: python-publish.yml on IamLunchbox/powerdns-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page