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

Uploaded Python 3

File details

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

File metadata

  • Download URL: dnscontroller-0.6.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.6.tar.gz
Algorithm Hash digest
SHA256 3d33d07f5acd69ec9b0dd9ff6cc2e469daab0a29995c2814c67b0f44d6aa2d12
MD5 30f44a2393e44aeacf9dc82c20044349
BLAKE2b-256 7adc152ef49a3af88d47a48855d0d1a7efad8c0c37c98e915b9a082e2cc404ba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dnscontroller-0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 cc48418a86750626c9a34868f8108ac69f2b19a825e07143165621e504dc89ad
MD5 5756a4ce5a1d18a572b74ad621ec545c
BLAKE2b-256 3ed7ffdf070342e647c275f18f92cef0ead6b36513bdd8c43ec123d6580195ea

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