We have a new documentation site for cPanel & WHM! You can find our new documentation site at docs.cpanel.net.
We will continue to maintain our API documentation on this server.
For cPanel & WHM version 56
(Home >>DNS Functions >> Add a DNS Zone)
This feature allows you to set up a DNS zone on your server. A DNS zone is an administrative space or portion of the domain name system. The records in that space direct traffic to the correct locations.
The system creates zone files from a template. To edit the templates that the system uses to create zone files, use WHM's Edit Zone Templates interface (Home >> DNS Functions >> Edit Zone Templates).
When you add a domain to your server, WHM automatically configures its DNS zone. You can also use this interface to add DNS zones for remote domains.
Exercise caution when you add a DNS zone. Incorrect DNS data can prevent a visitor's access to a domain.
To add a DNS zone, perform the following steps:
The Account Selection section lists the domains and users on the server. To search the list, enter a partial domain or username in the appropriate text box under the Account Search heading and click the desired domain or username. The appropriate account will appear in the Account Selection section.
You cannot add multiple DNS zones for a single domain. If an account appears in the Account Selection section, do not enter that domain in the Domain text box. To make a change to an existing DNS zone, use WHM's Edit DNS Zone interface (Home >> DNS Functions >> Edit DNS Zone).
If you experience difficulties when you add DNS zones through this interface, run the following script from the command line as the