A command-line utility for managing DNS records through the Hetzner DNS API.
Install using bbin:
bbin install io.github.200ok-ch/hetzner- Pull DNS records from Hetzner
- Validate DNS configurations
- Push DNS record changes to Hetzner
- Support for selective zone operations
# Pull DNS records
hetzner pull
# Validate configurations
hetzner validate
# Push changes
hetzner push
# Work with specific zones
hetzner pull --zones=example.com,example.orgThe Hetzner DNS API token can be provided in three ways:
- Config file:
hetzner.ymlwith the keytoken - Environment variable:
HETZNER_TOKEN - Command line flag:
-tor--token
pull: Download DNS records from Hetznervalidate: Verify DNS configurationspush: Upload DNS record changes to Hetzner-hor--help: Display help information-vor--version: Show version number
-t --token: Your Hetzner DNS API token (optional, see Authentication)-z --zones: Comma-separated list of zone names to operate on (optional)-e --endpoint: API endpoint URL [default: https://dns.hetzner.com/api]
tbd.