How can I change DNS records through my cPanel?
To change the DNS records of your account through cPanel you have two options, use the Simple DNS Zone Editor or the Advanced DNS Zone Editor. Through Simple editor you may add or delete A and CNAME records while through the Advanced editor you can add all types of records, while you may edit any of the existing. In this guide we will work with the Advances DNS Zone Editor.
Change DNS records via Advances DNS Zone Editor
To use Advanced DNS Zone Editor in cPanel follow these steps:
- Please login to cPanel
Click on the option Advanced DNS Zone Editor that you will find in the section Domains.
- If you have more than one domains in your account select the domain for which you want to edit the DNS records. If you have only one domain, this option will not be available.
- In the Reset a Zone File section you can reset your zone file to the default DNS records of cPanel. This feature is rarely used, but it can be useful when the zone file contains many useless records and you want to remove them or if you have made any mistakes while editing some of the default entries and you want to reset them.
In the Add a Record section, you can may add records in the zone file (DNS file) of your domain.
The name of your DNS record. Make sure that ends with the domain and one dot Etc: samplerec.example.com.
Time To Live. This information updates all DNS server globally with the time period that your DNS record will be valid. Substantially you state after how much time your record will expire and consequently, once this period is over the DNS Servers will ask again your server for the for the condition of the record. The time is set in seconds and the default setting is 14400 (4 hours). If you set a very small TTL, it may cause a small delay in viewing your website, because the DNS network will constantly try to get an update for the new state of the DNS records of the site, an action that requires some milliseconds.
Choose a record type from the list among A, AAA, CNAME, SRV and TXT records.
The server address in which the DNS record refers to . Here you can type in the server IP address, the domain name, or a subdomain. The TXT records are set as a text in quotes.
- Once you have completed filling the form click on the Add Record button, to add your record.
This way, new records can be added in the zone file and you can see them in the list Zone File Records.To edit any of the existing DNS records click on the option Edit, while to delete click on the option Delete.