Bug? Unable to parse zone: Invalid DNS record: Invalid name provided.

bazzi

Well-Known Member
May 23, 2004
119
0
166
When I edit a domain with MX entries for subdomains i get:

Unable to parse zone: Invalid DNS record: Invalid name provided.

But when I change this:
calimero 900 IN MX 0 mail.xx.nl.
support 900 IN MX 0 support.xx.nl.
support 900 IN MX 10 mx10.xx.nl.
support 900 IN MX 20 mx20.xx.nl.

To:
calimero.xx.nl. 900 IN MX 0 mail.xx.nl.
support.xx.nl. 900 IN MX 0 support.xx.nl.
support.xx.nl. 900 IN MX 10 mx10.xx.nl.
support.xx.nl. 900 IN MX 20 mx20.xx.nl.

I can save the record.

But when I would change again something in the record it is changed back to:
calimero 900 IN MX 0 mail.xx.nl.
support 900 IN MX 0 support.xx.nl.
support 900 IN MX 10 mx10.xx.nl.
support 900 IN MX 20 mx20.xx.nl.

Does anybody else can reproduce this problem? If so I will make a bug at bugzilla...
 

cPanelNick

Administrator
Staff member
Mar 9, 2015
3,481
35
208
cPanel Access Level
DataCenter Provider
support

is just the short way of writing

support.xx.nl.

when in the xx.nl zone

Any entry that does not end with a trailing . will get the zone name appended to it.
 

ampunboss

Member
Jun 12, 2004
15
0
151
I have the same problem, there was no problem for just adding a record to domain, like:

subdomain 14400 IN A 111.111.111.11

Now, i got error: "Unable to parse zone: Invalid DNS record: Invalid name provided". by adding that format. This also happens to some other domains that should not happen.


Now i edit it manually to teh zone file
 

docbreed

Well-Known Member
Jul 18, 2005
57
0
156
Tring to add:
subdomain 14400 IN A xxx.xxx.xxx.xxx

Code:
Unable to parse zone: Invalid DNS record: IP addresses are not allowable exchange values.
I can do this manually and bind restarts just fine.
 

xiatica

Registered
Dec 26, 2009
2
0
51
me too

I'm getting the same error

failed: Invalid DNS record: Supplied exchange for MX record is invalid

with the google apps mx records.

haven't tried manually editing the files yet (don't know how yet).



cPanel 11.25.0-R42399 - WHM 11.25.0 - X 3.9
CENTOS 5.2 i686 virtuozzo on vps
 

xiatica

Registered
Dec 26, 2009
2
0
51
Edit MX vs Edit DNS Zone

I was able to get this working by editing mx records from # Edit DNS Zone
rather than from # Edit MX Entry menu items in WHM.

Can anyone explain why there are two areas for editing MX records?

tia
 

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,545
12
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Twitter
When using the feature "Edit MX Entry" in the DNS Functions of WHM, it is not required to include an a trailing period at the end of the new or modified MX destination (host).

For clarification, this is relating to the following menu path in WHM:
WHM: Main >> DNS Functions >> Edit MX Entry
Documentation: Edit MX Entry

As an example, the following MX destination hosts could be used for Google Apps; cPanel/WHM will automatically add the trailing period where required:
Code:
aspmx.l.google.com
alt1.aspmx.l.google.com
alt2.aspmx.l.google.com
aspmx2.googlemail.com
aspmx3.googlemail.com
Related internal case ID: #36200