Skip to main content

Command-Line Tools

OxiDNS ships as a single oxidns binary. This page maps tasks to commands; complete options and behavior are split across three topic guides.

Common tasks

GoalCommandReference
Validate configurationoxidns check -c config.yamlConfiguration and Data Tools
Run in the foregroundoxidns start -c config.yamlRuntime, Probes, and Services
Temporarily enable debug loggingoxidns start -c config.yaml -l debugRuntime, Probes, and Services
Probe an upstreamoxidns probe upstream tcp://1.1.1.1:53Runtime, Probes, and Services
Install a system servicesudo oxidns service install -d /var/lib/oxidns -c /etc/oxidns/config.yamlRuntime, Probes, and Services
Inspect compiled capabilitiesoxidns build-infoConfiguration and Data Tools
Export dat rulesoxidns export-dat ...Configuration and Data Tools
Check or apply an upgradeoxidns upgrade check / oxidns upgrade applyUpgrade Command

Help and exit status

Use oxidns --help for top-level commands and oxidns <subcommand> --help for the complete options supported by the current binary. Automation should check process status: success returns 0; argument, validation, and runtime failures return a non-zero value.

oxidns --help
oxidns check --help
oxidns probe upstream --help
oxidns upgrade --help

Older section bookmarks land on this entry page; use the task map above to open the extracted command guide.