This demo assumes you’ve already logged in to https://panel.nerdcom.host/
DNS is the component of the Internet which converts human-readable domain names (such as site5demo.com) into computer-readable IP addresses (such as 18.104.22.168). 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.
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.
An A Record or Address Record is a DNS entry that is used to point a hostname (hostname.yourdomain.com) to an IP address (22.214.171.124). Here are some examples of A records:
- home.yourdomain.com -> 126.96.36.199
- backup.yourdomain.com -> 188.8.131.52
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
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:184.108.40.206 ~all
v=spf1 a mx -all
How to add a record
- 1) Select the domain you wish to use from the drop-down
- 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).
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!