The Zone Editor interface in cPanel will not show all A and CNAME records for a domain. For example, you may only see the MX record while the zone file contains many more records. The command below will show all A and CNAME record in the zone.
# grep -P "\b(:?A|CNAME)\b" /var/named/domain.tld.db
domain.tld. 14400 IN A 10.2.50.222
mail 14400 IN CNAME domain.tld.
www 14400 IN CNAME domain.tld.
ftp 14400 IN A 10.2.50.222
whm 14400 IN A 10.2.50.222
webdisk 14400 IN A 10.2.50.222
cpcontacts 14400 IN A 10.2.50.222
cpanel 14400 IN A 10.2.50.222
webmail 14400 IN A 10.2.50.222
cpcalendars 14400 IN A 10.2.50.222
Please note that you will need to replace "domain.tld" with the actual domain you are checking.
This is working as designed. The documentation below covers this further.
Zone Editor (A, CNAME)
Enables cPanel’s Zone Editor interface (cPanel >> Home >> Domains >> Zone Editor) and allows cPanel account users to create A and CNAME records.
This feature only applies to A, CNAME, and MX records that the cPanel account user created. To allow cPanel account users to view the system’s default A, CNAME, and MX records, enable the Zone Editor (AAAA, CAA, DMARC, SRV, TXT) feature.
Zone Editor (AAAA, CAA, DMARC, SRV, TXT)
Allows cPanel account users to create AAAA, CAA, DMARC, SRV, and TXT records in cPanel’s Zone Editor interface (cPanel >> Home >> Domains >> Zone Editor). This feature also controls whether a cPanel account user can view the existing default A, MX, and CNAME records.Note:
To allow cPanel account users to view these records, you must enable this feature.
- Login to WHM as the 'root' user.
- Navigate to: "Home / Packages / Feature Manager."
- Select the feature list that your account uses from the "Manage feature list" dropdown menu.
- Click the "Edit" button.
- Enter the word "Zone" into the search box
- Ensure that both of "Zone Editor (A, CNAME, MX)" and "Zone Editor (AAAA, CAA, DMARC, SRV, TXT)" are selected.
- Click the "Save" button.
- Log back into the cPanel account and verify that the A and CNAME records now show.