Symptoms
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
Note: You will need to replace "domain.tld" with the actual domain you are checking.
Description
This is working as designed. The documentation below covers this further.
https://docs.cpanel.net/whm/packages/feature-manager/
-
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.
Note: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.
Workaround
- Login to WHM as the root user
- Navigate to:
Home »Packages »Feature Manager »Feature Lists
- Select the feature list that your account uses from the dropdown
- Click the blue Edit button
- Enter the word "Zone" into the search box
- Ensure that both of the "Zone Editor" features have a check next to them
- Click the blue save button
- Log back into the cPanel account and verify that the A and CNAME records now show