Format issue with dots

Started by luca, October 09, 2024, 02:03:10 PM

Previous topic - Next topic

luca

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.

overseer

File a bug report. CWP should be able to check and sanitize input like this on individual form pages, as appropriate.

cyberspace

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.