zonemigrate — Command Reference
Back up and convert legacy DNS v1 YAML into DNS v2 format.
Back up and convert legacy DNS v1 YAML into DNS v2 format.
Requirements
Run as root on the Eenos server. Choose exactly one domain, account or all-account scope. Keep independent backups of the affected zone data.
Usage
The following example uses the operation described below; replace example identities and paths before use:
/usr/local/eenos/scripts/zonemigrate --domain example.comArguments and options
| Argument / option | Usage and meaning |
|---|---|
-d, --domain | Value: DOMAIN. Migrate one DNS domain |
-u, --user | Value: USER. Migrate all DNS zones belonging to an account |
-a, --all | Flag. Migrate 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
Writes converted YAML and a source backup. It does not rebuild BIND; use rebuilddnszone separately after reviewing the conversion.
Verify the result
Inspect conversion errors and the resulting v2 records before deploying DNS.
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.