Skip to main content

rebuilddnszone

Rebuild DNS Zones

This tool will help you to rebuild all  DNS zones on the server. You can also rebuild a single domain zone or the user's zones.

Command:

/usr/local/eenos/scripts/rebuilddnszone

Command Options:

usage: rebuilddnszone [options] [values]

Command(s):
  -d domain_name, --domain domain_name
                        To rebuild the DNS zone of the domain
  -u user_name, --user user_name
                        To rebuild all dns zones of a user
  -a, --all             To rebuild all dns zone files in the server and add to dns
  -ucfz, --update_conf_from_zones
                        To rebuild the DNS configuration from zone files

Option(s):
  -h, --help            show this help message and exit

Rebuild  All Zones

To rebuild all dns zones in the server, use the following command.

/usr/local/eenos/scripts/rebuilddnszone --all

Rebuild user's Zones

To rebuild the DNS zone of a single user,  run the following command.

/usr/local/eenos/scripts/rebuilddnszone -u <USER>

Where USER is Eenos user name

Rebuild Domain DNS Zone

To rebuild a domain dns zone, run the following command:

/usr/local/eenos/scripts/rebuilddnszone -d DOMAIN_NAME