Skip to Content
Browse documentation

rebuilddnszone — Command Reference

Rebuild one domain, one account's zones or all account DNS zones from Eenos data.

Rebuild one domain, one account's zones or all account DNS zones from Eenos data.

Requirements

Run as root on the Eenos server. A valid domain/account and configured DNS service. Choose exactly one of --domain, --user or --all.

Usage

The following example uses the operation described below; replace example identities and paths before use:

/usr/local/eenos/scripts/rebuilddnszone --domain example.com

Arguments and options

Argument / optionUsage and meaning
-d, --domainValue: DOMAIN. Rebuild one DNS domain
-u, --userValue: USER. Rebuild all DNS zones belonging to an account
-a, --allFlag. Rebuild all account DNS zones on the server

-h, --help displays this parser's help. Selectors in the same mutually exclusive group cannot be combined. The installed version remains authoritative for available options.

Operational effects

Rebuilds and deploys managed DNS configuration. --all has server-wide scope; do not use it when a single-domain rebuild is sufficient.

Verify the result

Review the DNS rebuild log, BIND load result and authoritative answers for affected domains.

Check operation output and the relevant service/application state. Several legacy wrappers exit successfully after logging a handler failure, so a zero shell exit status alone is not proof of completion.

Back to DNS Tools · All command-line tools