Understanding DNS Zones
The function of your name servers is to locate the server and the correct DNS zone in order to get the following information:
-
A Record – points your domain or subdomain to an IP address (e.g. mydomain.com -> IP address)
-
CNAME Record – points your domain or sudomain to another domain name (e.g. www.domain.com -> domain.com)
-
MX Records – control where your emails are received. If you want your mail hosted on another server, this is what you will need to change (e.g. domain.com -> server.ext).
-
NS Records – must match the name servers you are using
Changing NS Records When Using Private Name Servers
Note: For Reseller or higher only.
If you are using private name servers and you would like to change your NS Records
-
Log into WHM.
-
In the left menu, expand DNS Functions.
-
Click Edit DNS Zone.
-
Select your domain name from the list and click the Edit button.
-
Look to the right of SOA and replace the name server with your primary private name server (be sure to include the trailing dot for ns1).
[screenshot before]
-
Look to the right of NS and replace each name server with your private name servers (be sure to include each trailing dot for ns1 and ns2).
[screenshot after]
-
Scroll down and click the Save button.
Changing MX Records
Note: MXRecords will require your domain to be on a special remote server list.
To point the MXRecords to either a remote or local server, you can do the following:
In WHM
-
Log into WHM.
-
In the left menu, expand DNS Functions.
-
Click Edit MX Entry.
-
Select the domain name to which you would like to make changes to and click Edit.
-
Select either Local, Backup or Remote Mail Exchangers.
-
Once you have selected where the MX Records will be pointed, click Save.
In cPanel
-
Log into cPanel.
-
Under Mail, click on MX Entry.
-
Select either Local or Remote Mail Exchangers.
-
Click Change to complete the change.