Skip to content

zoltanf/rc0-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rc0

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.

Install

# 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

Quickstart

# 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.com

All commands support --output json|yaml|table|csv|tsv and --dry-run.

Documentation

License

MIT — see LICENSE.

About

The command line for RcodeZero DNS.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors