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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for dnscontroller-0.4.tar.gz
Algorithm Hash digest
SHA256 7214b777f48a256b6ece55d0098354b43b8ab61f6d6662338f30652531b00dee
MD5 7fb7808fc2c50fb51c96507c323541a3
BLAKE2b-256 b3256c7456d807ae75575b99499036d53382fb9bdcb455c4447d50a171d50f88

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dnscontroller-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c4a1d502fe1c3373a8dbbf9d047c86c7b65659143c8abb13c078f7dde3dbd38e
MD5 fcd65f245d1bce9ff5a5e66f4b674098
BLAKE2b-256 a47bc3e110b428ab12a227862f08dd99f9789b328a3721256f1c253a7e37c6c0

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