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.3.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.3-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dnscontroller-0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 5826e0db4420cc6118877d46385691fd24b90817ed21d1b9ca23c711e9b75a4e
MD5 4bc687067d07a1267a5b3bf66f42b294
BLAKE2b-256 2ae35db3674b9b53d704f0d77ed9012bfb976a7c7bcda1a8941823fccd3d54b0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dnscontroller-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4ced2b66f2640d694aa4fbe69225b698cf9e6aac717262660389aacd57a17f17
MD5 ca6a9dada0978e401707196a95be31bd
BLAKE2b-256 c0004e7d8efab3dbd6401b8dbef445b0f631a1f9700a13e3afc8741f99cb557a

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