How does the DNS Work and How To Edit DNS Records with cPanel

How Can You Manage DNS of Your Domain In cPanel

It is important to understand how DNS works before proceeding. When you register a domain, the domain registrar provides you with a control panel called the Domain Control Panel, which is different from cPanel or other web hosting control panels.

Here you can specify the name servers of the domain, renew the domain name, change the contact information of the domain, and do much more. These name servers designated in the domain control panel are the authentic name servers of the domain. In these authoritative name servers, there needs to be a zone file in which the DNS records (like NS, A, CNAME, and TXT records) are added.

For perfect name resolution, the NS records must match the name servers entered in the domain control panel.

Users using our name servers can easily alter the DNS zone file or DNS records in cPanel. For those who are using exterior or any other third-party name servers (e.g., CloudFlare services), you need to update the DNS records or zone file there in their DNS management area.

How to Edit DNS Records in cPanel

Path:

cPanel → Domains → Zone Editor

Edit a DNS zone record

To edit a record, perform the following steps:

  1. Click Manage for the domain that you want to modify. A new interface will appear.

  2. Click Edit next to the record or records that you want to edit.

  3. Update the required fields

    Note: If you change the record type, cPanel keeps the existing data until you save

  1. Click Save Record or Save All Records to save your changes, or click Cancel.

Add a New DNS Record

To add a new DNS record:

  1. Select the domain name from the dropdown list.

  2. Enter the required DNS record details.

  3. Click Add Record.

Common DNS Record Types

How to Manage MX Records in cPanel

Earlier, MX (Mail Exchange) records could not be added or modified through the Advanced DNS Zone Editor and were managed only via MX Entry.

However, in the current versions of cPanel, MX records can be added and edited directly from the Zone Editor.

Updated Path:

cPanel → Domains → Zone Editor → + MX Record

Edit a MX record

To edit a record, perform the following steps:

  1. Click Manage for the domain that you want to modify. A new interface will appear.

  2. Click Edit next to the record or records that you want to edit.

  3. From the Type dropdown, select MX, make the required changes, and then click Save Record.

Add a New MX Record

To add a new MX record:

  1. Select the MX Record.

  2. Enter the required MX record details.

    1. Click Add An MX Record.

select