How to set up and modify DNS records?

Overview

The DNS Zone Manager allows you to edit the records in a domain’s DNS (Domain Name System) zone file. DNS is responsible for translating human-readable domain names (e.g., example.com) into computer-readable IP addresses (e.g., 192.0.0.1). DNS uses zone records on your server to map domain names to IP addresses. You can find the zone editor by  using the search box in the top right corner in your cPanel homescreen.

Domains

The DNS Zone Manager interface displays all domains hosted on your server. You can filter the list by entering a domain name in the search box. For each domain listed, you can perform the following actions:

1. A record

Create a new A record:

  • Enter a valid DNS zone name in the Name field.
  • Enter a valid IPv4 address in the Address field.
  • Click Add An A Record to save your changes.

2. CNAME record

Create a new CNAME record:

  • Enter a valid DNS zone name in the Name field.
  • Enter a Fully Qualified Domain Name (FQDN) in the CNAME field.
  • Click Add A CNAME Record to save your changes.

3. MX record

Create a new MX record:

  • Enter the priority value in the Priority field.
  • Enter a FQDN in the Destination field.
  • Click Add An MX Record to save your changes.

4. DNSSEC

Manage DNSSEC (Domain Name System Security Extensions) records:

  • Click on this option to navigate to the View DNSSEC Keys interface.

5. Manage

Add or edit additional domain records:

  • Click to go to the Manage DNS Zone Records interface.

Managing DNS zone records

This interface displays a table of DNS zone records for the selected domain. You can filter the list by name or record type. The table includes the following columns:

  • Name: The record’s name.
  • TTL: The record's Time to Live (TTL).
  • Type: The record’s type.
  • Record: The specific record information.
  • Actions: Options to edit or delete the record.

You can also use this interface to:

  • Add or edit DNS zone records.
  • Delete DNS zone records.
  • View the raw DNS zone file.
  • Reset the DNS zone.

Adding a DNS zone record

To add a new DNS zone record, follow these steps:

  1. Click Manage next to the domain you want to modify.

  2. Click Add Record or select a record type from the dropdown list (click the arrow icon next to "Add Record").
    • To add multiple records, click Add Record multiple times or select multiple record types.
    • The system will add the new records at the top of the table.
  3. Enter the record information.
  4. Click Save Record to save the changes, or Cancel to discard.

Editing a DNS zone record

To edit an existing DNS zone record, follow these steps:

  1. Click Manage for the domain you want to modify.
  2. Click Edit next to the record you wish to modify.
  3. Update the record's information.
    • Note: If you change the record type, the system preserves the existing data until you save your changes.
  4. Click Save Record or Save All Records to save the changes, or click Cancel to discard.