cPanel/WHM is a hosting control panel for Linux users. It allows you to manage all general DNS records like A, MX, TXT, CNAME, etc. for your domains. Following are the steps to manage all these records through the control panel:
- First of all, login to your cPanel account (http://server-ip-address:2082).
- After loging in, click on Advanced DNS Zone Editor option under Domains heading.
- Here, you will find zone files which allow you to control the way in which DNS functions.
- Now, select a domain from the drop down list for which you would like to manage the DNS records e.g. here we have selected accudemo.com.
- You are now able to add, edit, delete DNS records for your domain.
Let’s understand each of them …
Add DNS Records:
- Add “A” Record
- An A record is the pointer record which is used to point your website to a server. To add A record, fill out the details explained in below screen capture and click on Add Record button:
- An A record is the pointer record which is used to point your website to a server. To add A record, fill out the details explained in below screen capture and click on Add Record button:
- Add “CNAME” Record
- CNAME record is the canonical record which is an alias for your domain name. To add CNAME record, fill out the details explained in below screen capture and click on Add Record button:
- CNAME record is the canonical record which is an alias for your domain name. To add CNAME record, fill out the details explained in below screen capture and click on Add Record button:
- Add “TXT” Record
- TXT record is the text record (Sender Policy Framework - SPF record) which is used to identify which email server is allowed to send emails for a domain. To add TXT record, fill out the details explained in below screen capture and click on Add Record button:
- TXT record is the text record (Sender Policy Framework - SPF record) which is used to identify which email server is allowed to send emails for a domain. To add TXT record, fill out the details explained in below screen capture and click on Add Record button:
Edit DNS Records:
- If you want to make any change in the current DNS records then you can easily do it using Edit option. In order to edit any record click on Edit option as shown in below screen capture:
- It will load the settings configured currently. You can make required changes as per your need and click on Edit Record button.
Delete DNS Records:
- You can delete any DNS record if it is not required for your domain. Deletion of DNS record may interrupt the related service hence before deleting a record make sure that it is really not required.
- You can delete a record by clicking on Delete option as shown in below screen capture:
Add/Edit/Delete “MX” Record:
- MX record is the mail exchange record which is required for email service. To manage MX record you will first have to click on MX Entry option from your cPanel home page.
- Select a domain from the drop down list for which you would like to manage MX record e.g. here we have selected accudemo.com.
- If requires then make changes in Email Routing options. Local Mail Exchanger is the most preferable option however you can select any one of them as per your need. For more details regarding each option, you can click on "more>>" link.
- Now, in order to add a new MX record, go to Add New Record section, fill out the details explained in below screen capture and click on Add New Record button.
- If you want to make any change in the current MX record then you can easily do it using Edit option. In order to edit MX record click on Edit option as shown in below screen capture:
- It will load the settings configured currently. You can make required changes as per your need and click on Edit button.
- If you want to delete an MX record, you can do it by clicking on Delete option as shown in below screen capture:
These all are general records that are required for web and email services. cPanel supports total 6 types of records viz., A, AAAA, MX, SRV, TXT and CNAME. In case if you want to add any record other than this, you can add it directly under the DNS zone of your domain through WHM panel.
Note: The changes made in nameservers may require 48-72 hours and the changes made in DNS records may require 24-48 hours to propagate across the globe.