Skip to main content

PowerDNS Authoritative API client

Project description

PyPi version GitHub latest commit Integration Test

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.9.tar.gz (19.1 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.9-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: powerdns_cli-0.0.9.tar.gz
  • Upload date:
  • Size: 19.1 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.9.tar.gz
Algorithm Hash digest
SHA256 b0f1913c1cd30bcf6af250c961bb2331724b5641d1200162d1cd378f5f3d28e2
MD5 a5ff7f1f1db1d582b2c9e442d5d5cf10
BLAKE2b-256 7d073b9976921a96cc6c647f8b4087b8d2558d70900ec6120c3fafe13cfcc553

See more details on using hashes here.

Provenance

The following attestation bundles were made for powerdns_cli-0.0.9.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.9-py3-none-any.whl.

File metadata

  • Download URL: powerdns_cli-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 19.2 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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 260b7c727fbe3133f3846f77e354bb4f2e0dcd22d27e0bf9a9346fbf5d990d73
MD5 17b4e6775ec7ba0c8d6933af453d9f03
BLAKE2b-256 24faca7a71c692e80146e8eb34b0e581ef2a89ff3673c15a2225521169eeb516

See more details on using hashes here.

Provenance

The following attestation bundles were made for powerdns_cli-0.0.9-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