How to change DNS zones (MX, CNAME, and A records)

DNS (Domain Name Service) converts human-readable domain names (for example, example.com) to computer-readable IP addresses (for example, 192.0.32.10). DNS uses zone files that reside on your server to map domain names to IP addresses.

Several different types of records reside in a domain's zone file. This feature allows you to create, edit, and delete the following records:

  • AAAA
  • CAA (Certificate Authority Authorization Record)
  • CNAME (Canonical Name Record)
  • DMARC (Domain-based Message Authentication, Reporting, and Conformance)
  • MX (Mail Exchanger)
  • SRV (Service Record)
  • TXT (Text Record) 


Shared:

With cPanel, you now have access to make some of these changes by going to Go to cPanel >> Home >> Domains >> Zone Editor

Note: This feature will take effect only if you are using Darrel Technologies' name servers.

You can also create and edit your MX records with the icon under "Mail" called "MX Entry".

You can even customize your SPF records using the icon under "Mail" called "Email Authentication".

Note that cPanel refuses to display any record with a comment at the end. It tells the user that there are no MX records and it is defaulting to the main A record, but this is not true. It is legitimate to have comments at the end of your records, but cPanel will not understand.

 

Domains

This interface displays your account's domains. For each domain in the list, you can perform some actions directly. Click the text to perform that action.

Text
Action

A Record

Add an A record for this domain.
CNAME Record
Add a CNAME record for this domain.

MX Record

Add an MX record for this domain.
DNSSEC Record
Enable or disable DNSSEC for this domain.

Manage

Add or edit additional records for this domain.


To refresh the list of domains, click the gear icon () and select Refresh List.


Manage Zone

This interface displays the zone records for the selected domain. To filter the list of zone records, enter a name in the text box, or select one of the record type filters.

 

Add a record

To add a record, perform the following steps: 

  1. If this account owns more than one domain, click Manage next to the domain that you wish to modify.

  2. Click the arrow next to Add Record to select a record type:

    • Add A Record —  This record maps hostnames to IP addresses. A records allow DNS servers to identify and locate your website and its various services on the Internet. Without appropriate A records, your visitors cannot access your website, FTP site, or email accounts.

    • Add AAAA Record — This record maps hostnames to IPv6 addresses. 

    • Add CAA Record — This record allows you to specify which certificate authority (CA) will issue an SSL certificate for a domain. 

      Note: If no CAA records exist for a domain, all CAs can issue certificates for that domain. If conflicting CAA records already exist, remove the existing CAA records or add one for the desired CA. For example, a CAA record for Comodo would resemble the following example, where example.com represents the domain name:

      example.com. 86400 IN CAA 0 issue "comodoca.com" 
    • Add CNAME Record — This record creates an alias for another domain name, which DNS looks up. This is useful, for example, if you point multiple CNAME records to a single A record in order to simplify DNS maintenance.

      Note:

      You cannot point a CNAME record to an IP address.

    • Add DMARC Record — This record allows you to validate an email message's sender and filter spam email messages on your domain. If you select this option, the system creates a with a default DMARC record. The system also displays a form that allows you to specify the domain's DMARC policy (None, Quarantine, or Reject), as well as the following optional parameters:

       
    • Add MX Record —  This record allows you to route a domain's incoming mail to a specific server. Changes that you make to a domain's MX (Mail Exchanger) control where the system delivers email for a domain.
    • Add SRV Record — This record provides information about available services on specific ports on your server.

      Note:

      The SRV record must point at a hostname with an A (or AAAA) record. You cannot point an SRV record at a CNAME record.

    • Add TXT Record — This record contains text information for various services to read. For example, TXT records can specify data for the SPF, DKIM, or DMARC email authentication systems.
      Click the links below to view examples of each TXT record:




Reseller:

You can add and modify any of the DNS zone records, with no restrictions.

Note: This feature will take effect only if you are using Darrel Technologies' name servers or private name servers which are registered with Darrel Technologies' IPs.

  • Go to WHM and click Edit DNS zones, under DNS Functions.

If you don't feel comfortable, we can help make the changes for you and confirm that your other DNS settings are correct. Please be prepared to verify your identity for the protection of your account.


Important

1. You must always make your DNS zone changes where your name servers point.

2. DNS zone changes are not instant; they do require time for propagation. Most records need 0-4 hours, but name server records need 0-24 hours.

3. It is important to check the NS records and make sure they match exactly the nameservers you are using at your domain registrar (also known as "fixing the glue"). If they are not an exact match, your website may experience intermittent downtime.

How do I check? Please go to WHM and, under DNS functions, click Edit DNS Zone. Select the domain name having problems and hit the Edit button. Look for the records that say:

domainname.com.  	86400  	 IN  	NS  	biz1.dtechweb.net.
domainname.com. 86400 IN NS biz2.dtechweb.net.

The last part of each line is the value which must match. If you have decided to use your own private nameservers, then these records should be changed to show those private names. (Also, in the DNS zone, these values must have a dot/period added at the end, as in the example.)


Here is some information to help you understand DNS zones.

Your name servers' job is to find the server and correct DNS zone in order to get the following information.

The NS records in the DNS zone must match the nameservers you are using.

The A record points your domain to an ip address. (e.g. mydomain.com -> ip address)

The CNAME record points your subdomain to another domain name, like www and mail. (e.g. www.domain.com -> domain.com)

The MX records control where your emails are received. If you want your mail hosted on another server, then this is what you will need to change. (e.g. domain.com -> server)

  • 3 Users Found This Useful
Was this answer helpful?

Related Articles

Monitor the servers's status

This can be done in cPanel, in the left hand menu. Scroll to the bottom and find the link for...

What are my nameservers

Not sure what the names servers are for your website's domain name? Kindly refer to the welcome...

How do I add another domain to my Account?

Some DT shared Linux web hosting plans allow you host multiple domains on the same account. To...

How do I manage my Shared hosting account?

We offer cPanel to manage your Shared Web Hosting account. You can learn more about cPanel here

How Do I Create and Remove an Addon Domain?

An addon domain is a fully functional domain that can be created from within your control panel....