Skip to main content

A CLI tool for managing Cloudflare DNS records

Project description

dnscontroller

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for dnscontroller-0.7.tar.gz
Algorithm Hash digest
SHA256 9cd8f01521bb5824af7ce99f2cd7d0b91fd3541ca6dedc25c9a017ba3bf4480d
MD5 04b85fa8119281abc4316a76b015e79b
BLAKE2b-256 8ab356a2025f9697aaf24053660976285497961ba60aeda7cf00254e2faa268d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dnscontroller-0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 c3c8b0a372acb882b363103c2665f9699a8194ef0d4ac6d1f40c64de1511bcb5
MD5 3deb3e615baf09fc112d41c98409fce7
BLAKE2b-256 e41b495064b4dcc32bcb926db0655b4fb27d46cbbcc624e2772221bb0122a22c

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