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: /usr/local/eenos/scripts/rebuilddnszone  <option> | <option>=<choice>
Command Groups:
Options:    
    --all  -  To rebuild all dns zone files in the server and add to dns
    --update_conf_from_zones -  To rebuild dns configuration form zone files
    --user=<user>`- To rebuild all dns zones of a user
    --domain=<domain name> - To rebuild dns zone of domain  

Rebuild  All Zones

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

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

Rebuild users's Zones

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

/usr/local/eenos/scripts/rebuilddnszone --user=<user>

Rebuild Domain DNS Zone

To rebuild a domain dns zone, run the following command

/usr/local/eenos/scripts/rebuilddnszone --domain=<domain name>