The command line for RcodeZero DNS.
rc0 is a production-grade CLI for the RcodeZero Anycast DNS API —
safe by default, scriptable, and feature-complete.
# Python (recommended)
pip install rc0-cli
# or
uv tool install rc0-cli
# macOS / Linux via Homebrew (once tap is live)
brew install zoltanf/rc0/rc0
# Pre-built binary — download from GitHub Releases
# https://github.com/zoltanf/rc0-cli/releases/latest# 1. Authenticate (stores token in OS keyring)
rc0 auth login
# 2. List your zones
rc0 zone list
# 3. Preview a zone creation without touching the API
rc0 zone create example.com --type master --dry-run
# 4. Set (create or replace) an A record
rc0 record set example.com --name www --type A --content 198.51.100.1 --ttl 300
# 4b. Add another value without losing existing records
rc0 record append example.com --name www --type A --content 198.51.100.2
# 5. Sign a zone with DNSSEC
rc0 dnssec sign example.com --dry-run
# 6. Manage ACME DNS-01 challenge records
rc0 acme add-challenge example.com --value <token>
rc0 acme remove-challenge example.comAll commands support --output json|yaml|table|csv|tsv and --dry-run.
MIT — see LICENSE.