Skip to main content

A CLI tool for managing Cloudflare DNS records

Project description

DNS Controller

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

For more powerful similar tools I recommend:

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.2.tar.gz (34.6 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.2-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for dnscontroller-0.2.tar.gz
Algorithm Hash digest
SHA256 f2054e4ca9b05aad071522c1b3607be18d996856f0c50beb8d7825ab18f81b3f
MD5 365f2c723d9315d8c6298d4310c11690
BLAKE2b-256 a97d1bf536f4c2d4581b46dd8785167c9f13907a40e50c098049bbf97d002002

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dnscontroller-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a1f120035ac5e450bf52063f14e3d9e402defe309673609fa571c3d0b6db39af
MD5 7001d26788af8dec0325dd7437c61848
BLAKE2b-256 ed882fcbaa7cab323e0b8a449e629f0f5360d841287f72b91d15ae0606be6658

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