cPanel: Advanced DNS Zone Editor

This demo assumes you’ve already logged in to cPanel

DNS is the component of the Internet which converts human-readable domain names (such as site5demo.com) into computer-readable IP addresses (such as 174.120.241.66). It does this according to DNS zone files that reside on your server and ties domain names to IP addresses. There are several different types of records in a domain’s zone file. This feature allows you to create and edit A and CNAME records.

To access the Advanced DNS Editor login to cPanel, then click the Advanced DNS Zone Editor found in the Domains section.

cp_advdns_1


There are many different types of records that can be used. Here are some basic explanations and examples for each kind available in this editor.

 

A Record

 

An A Record or Address Record is a DNS entry that is used to point a hostname (hostname.yourdomain.com) to an IP address (123.123.123.123). Here are some examples of A records:

 

  • home.yourdomain.com -> 111.22.123.2
  • backup.yourdomain.com -> 213.3.42.15

 

CNAME Record

 

A CNAME (canonical name record) record allows you to point a hostname to another domain/hostname. Here are some examples of CNAME records:

 

  • billing.yourdomain.com -> mybillingsite.com
  • backup.yourdomain.com -> mybackupsite.com

 

TXT Record

 

A TXT or Text record is used to store a text string. It is most commonly used for SPF entries, email anti fraud measures,  and verifying domains with 3rd party services such as Google or Microsoft. Here are some examples of TXT Records:

 

  • v=spf1 ip4:123.123.123.123 ~all
  • v=spf1 a mx -all

 

How to add a record

 

  • 1) Select the domain you wish to use from the drop-down
    cp_advdns_2
  • 2) Select the Record Type enter the Record Name then enter the TTL value you wish to use. Now enter the IP Address/CNAME/TXT Data (This will change depending on the record type).
    cp_advdns_3

 

TTL or Time to Live is the system that tells dns caches (like on your computer) to refresh the data from the main DNS server. The input value should be in seconds. Here are some common entries

  • 43200 = 12 Hours
  • 86400 = 1 Day
  • 172800  = 2 Days

 

The higher this value is, the less-often the cache will be refreshed, meaning that changes made to the record (such as an IP change) could take longer to manifest. In addition, the smaller the value, the more-often the cache will be refreshed meaning that changes would go live more quickly.

 

For more information about how TTL works, please see this wiki page.

 

  • 3) Click Add Record

    Note: *.yourdomain.com will be automatically appended to the Record Name you enter if you do not end the record name with a . (dot). For instance, if you enter “example”, “example.yourdomain.com.” will be used for the record name.
  • That’s it! You now know how to add a DNS Entry using the Advanced DNS Editor!

 

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Commonly Used Ports

Below we have listed some of the most common ports used in the web hosting world. HTTP - Port 80...

Copying and Moving Files in File Manager

Copying and Moving Files in File Manager To copy or move files in File Manager: Log into...

cPanel: Creating Email Accounts

This demo assumes you’ve already logged in to cPanel Now let’s create a new POP email account...

cPanel: Custom Error Pages

This demo assumes you’ve already logged in to cPanel Now let’s learn how to create custom error...

cPanel: FTP Session Control

In this article, we will show you how to view and kill active FTP sessions. Please Note: This...