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.5.tar.gz (35.0 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.5-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for dnscontroller-0.5.tar.gz
Algorithm Hash digest
SHA256 d2da8cb73d4bcd5f5d87235c56e24aace423198f0fe83654f6b972c2a0cbd9a0
MD5 41dc20b47e69cd97def4d2765344e00f
BLAKE2b-256 9fdccabc88f58acd94c2596cc0bc150dcb33c695d47eb16e8c47d8f55138e0f7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dnscontroller-0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 3335fe7f3f39f07ee1578bfa55385aa18e7ad2f14abc626a2f9ab03858af1a24
MD5 987a4ae4c4375ed2da33924956080f27
BLAKE2b-256 7590a9c02edcc83575bb8b877ad42c4c3ccdda0787a9ce81c7b28f28a26bad1b

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