Skip to main content

A CLI tool for managing DNS records via Cloudflare

Project description

DNS Controller

A command-line tool for managing DNS records via Cloudflare with a clean and intuitive interface.

Installation

The package can be installed using uv:

uv tool install dnscontroller

Configuration

Create a configuration file at ~/.cfcli.yml with your Cloudflare API token:

defaults:
  token: your-cloudflare-api-token

Usage

List Domains and Records

List all available domains:

dnscontroller ls

List DNS records for a specific domain:

dnscontroller ls example.com

Manage DNS Records

Create or update a DNS record:

dnscontroller set A www.example.com 192.168.1.1 --ttl 1h

Supported TTL formats:

  • auto (default)
  • Seconds (e.g., 300)
  • Minutes (e.g., 5min)
  • Hours (e.g., 1h)
  • Days (e.g., 1d)

Delete a DNS record:

dnscontroller rm A www.example.com

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

dnscontroller-0.1.1.tar.gz (34.5 kB view details)

Uploaded Source

Built Distribution

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

dnscontroller-0.1.1-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file dnscontroller-0.1.1.tar.gz.

File metadata

  • Download URL: dnscontroller-0.1.1.tar.gz
  • Upload date:
  • Size: 34.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.2

File hashes

Hashes for dnscontroller-0.1.1.tar.gz
Algorithm Hash digest
SHA256 44832beb4a56d45f1b784e2ef2921d521a8362387bd251f0bbf57b7c42a94ec4
MD5 fd424031974777c85928351235374394
BLAKE2b-256 32d805f991843f7d5ab5adca2e6b1d6294e948f227e11313627d4f33e656867d

See more details on using hashes here.

File details

Details for the file dnscontroller-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for dnscontroller-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 45f985f07062e1315258661cf5002507fcca9c4b8f25fead206ea3d3378f8346
MD5 0d03628b8f7c3024fc5e53501846faf5
BLAKE2b-256 08a0e6f06a5c473437b7bf9a88e3ca9928abaab920a509d42522a38bbcee023f

See more details on using hashes here.

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