DNS (Domain Name System) is a very essential part of the Internet System. It simply maps an FQDN (Fully Qualified Domain Name), which is in a human readable form. For example, www.tutorialspoint.com to IP address, which is used by computer machine, e.g. 188.8.131.52. For this process, DNS uses zone files that are stored in servers, which contains resource records to map a domain name to an IP address.
In this Simple Zone Editor, we can add two types of records −
Add an A Record
The A types of resource records are Host Name records. They contain the IP address of a specific host and maps the Domain Name with the 32-bit IP address.
To add an A type record, perform the following steps −
Step 1 − Open the Editor by clicking Simple Zone Editor found in Domains Section of cPanel Home.
Step 2 − Find Add an A Record in the Simple Zone Editor interface.
Step 3 − Enter Name in Name textbox and IP address in Address textbox.
Step 4 − Press Add an A Record. If successful, you will get a success message.
Note − ‘A’ records are essential for accessing your website. They allow DNS servers to locate your website and its services. Without an ‘A’ record, visitors can’t access your website. The cPanel automatically configures A type of records for your domain and website, as soon as they are created.
Add a CNAME Record
The CNAME records are used to add an Alias to its associated domain name. You can point multiple CNAME records to a single A record. So that when the DNS looks up for the Alias, you can simply rename a host, which is defined in the A records.
To add a CNAME record, please follow these steps.
Step 1 − Scroll down on Simple Zone Editor to find Add a CNAME Record.
Step 2 − Enter the desired Alias name for CNAME record on Name textbox and Enter an FQDN in CNAME textbox to which you want your Alias pointing to.
Step 3 − Click Add CNAME Record and you should see a success message.
Remove an A or CNAME Record
To remove a user-defined A or CNAME Record, please scroll below on Simple Zone Editor to find User-Defined Records. Press the Delete link corresponding to the Record you want to remove.
You should see a success message when a record is deleted.