cPanel

How to Edit DNS Zone Using cPanel’s DNS Zone Editor

Introduction

If you want to point your domain name to a different IP address, change CNAME or TXT record, DNS zone must be edited. cPanel has 2 easy to use tools to edit DNS Zones: Simple DNS Zone Editor and Advanced DNS Zone Editor. In most cases, you can use the Simple DNS Zone Editor to manage / edit DNS zone, however, Advanced DNS Zone Editor has more features. In tutorial you will learn how to edit DNS Zone on both editors.

What you’ll need

Before you begin this guide you’ll need the following:

  • cPanel access

Option 1 – Simple DNS Editor

By accessing Simple DNS Zone Editor from your cPanel you will get a new window with a drop down menu where you need to select the domain you want to edit.

select domain

Simple DNS Zone Editor will now load three options for you.

  1. The first option allows adding an A record for your domain name. This record maps a name to IP address. In Name field you can enter the desired subdomain for the A record. Address field is the IP address to which you would like to point your subdomain.
    A record
    In the case of successful action you will be notified with a confirmation message.
    A record added
  2. The second option allows you to add CNAME record for your domain name. CNAME record is a DNS record that maps an alias name to a domain name. Name field is the desired subdomain for the CNAME record. CNAME field is the CNAME to which you would like to point your subdomain.
    CNAME record
    In the case of successful action you will be notified with a confirmation message.
    CNAME record added
  3. The third option allows you to delete already existing DNS records for your domain name. If you would like to delete a DNS Zone record, simply click Delete button.

delete DNS zone

Option 2 – Advanced DNS Editor

The first difference between Simple and Advanced DNS Zone Editors is that the latter allows to completely reset your DNS records to default values. This can be useful if you, for example, have modified your DNS records and the domain name is no longer working properly.

In order to reset the DNS Zone records to default values click on More and Reset Zone File button.

reset DNS zone

Using Advanced DNS Zone Editor you can add / edit these types of DNS records:

  • A Record – Maps name to IP address.
  • AAAA Record – Maps name to IPv6 address.
  • CNAME Record – Maps an alias name to a domain name.
  • SRV Record – Maps one domain to another using a specific destination port.
  • TXT Record – Used to hold text information. Commonly used for SPF records and domain name authentication with other services.

Advanced DNS Zone Editor also allows specifying TTL (time to live) value. This value specifies how long DNS records will be cached. Default TTL value is 14400.

For example, if you decided to add a new TXT Record, you will have to enter the fallowing details and press Add Record button.

TXT record

Advanced DNS Zone Editor also allows to edit already existing DNS Zone records. In order to edit your desired record, click on Edit button and you will be prompted with edit menu.

edit record

Conclusion

By finishing this tutorial you have learned how to manage your DNS records in cPanel. Now you can easily add and edit DNS records for your domain name.

About the author

Merkys M.

Merkys is a server administrator and Linux expert at Hostinger. He keeps everything up & running while tackling advanced server management issues. Besides that, he’s a big fan of blockchain technology, web development, and bodybuilding.

Add Comment

Click here to post a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

[href]
[href]
More in cPanel
How to Optimize Website Using cPanel’s Optimize Tool

Close