Control Web Panel

WebPanel => DNS => Topic started by: luca on October 09, 2024, 02:03:10 PM

Title: Format issue with dots
Post by: luca on October 09, 2024, 02:03:10 PM
Seems when creating an MX, for example, Bind with CWP.

@ IN MX 5 mx.domain.com

It requires a dot

@ IN MX 5 mx.domain.com.

and CWP is not clear on that. We had to change tons of domains in batch. It would be nice if it alerted about the invalid syntax.

I believe same for CNAMEs, require an extra dot at the end of the value.

Thanks.
Title: Re: Format issue with dots
Post by: overseer on October 09, 2024, 06:20:27 PM
File a bug report. CWP should be able to check and sanitize input like this on individual form pages, as appropriate.
Title: Re: Format issue with dots
Post by: cyberspace on October 12, 2024, 11:24:15 AM
Actually, it is common rule to add a dot at the end of each FQDN in DNS. In case there is no dot then the value from $ORIGIN will be added to the specified domain name.

So if $ORIGIN of the DNS zone has the value "domain.com" then both lines are equal:

@ IN MX 5 mx
@ IN MX 5 mx.domain.com.


So if you add the dot then the specified domain name is recognized as fully qualified domain name.

It is not a bug.