Skip to content

Reference Overview

This section provides technical reference information for advanced users and developers.

Where NextDNS Blocker stores configuration, data, and logs across platforms.

Understanding log files, their contents, and rotation.

CLI exit codes for scripting and automation.

Security features, file permissions, and best practices.

NextDNS API usage, caching, and rate limiting.

Terminal window
nextdns-blocker --version
Terminal window
nextdns-blocker --help
nextdns-blocker <command> --help
PlatformConfigData
macOS/Linux~/.config/nextdns-blocker/~/.local/share/nextdns-blocker/
Windows%APPDATA%\nextdns-blocker\%LOCALAPPDATA%\nextdns-blocker\
VariableRequiredDefault
NEXTDNS_API_KEYYes-
NEXTDNS_PROFILE_IDYes-
API_TIMEOUTNo10
API_RETRIESNo3
CACHE_TTLNo60
RATE_LIMIT_REQUESTSNo30
RATE_LIMIT_WINDOWNo60
CommandDescription
config pushSynchronize domain states
statusShow current status
unblock DOMAINRequest unblock
allow DOMAINAdd to allowlist
disallow DOMAINRemove from allowlist
config showShow configuration
config editEdit configuration
config validateValidate configuration
config set KEY VALSet config value
watchdog statusCheck watchdog
watchdog installInstall watchdog
watchdog uninstallRemove watchdog
panic DURATIONActivate panic mode
panic statusCheck panic mode
pending listList pending actions
pending cancel IDCancel pending action
updateCheck for updates
completion SHELLGenerate completions