Control Web Panel

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

Title: Format issue with dots
Post by: luca on October 09, 2024, 02:03:51 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: cyberspace on October 14, 2024, 03:27:46 PM
Duplicated, please look here:
https://forum.centos-webpanel.com/dns/format-issue-with-dots/msg49125/?topicseen#msg49125
and:
https://www.zytrax.com/books/dns/apa/dot.html
Title: Re: Format issue with dots
Post by: luca on October 15, 2024, 03:58:46 PM
Thanks, friend. Yes, but my case is a feature request.

It could inform about the invalid syntax...

Thanks.
Title: Re: Format issue with dots
Post by: cyberspace on October 15, 2024, 07:19:25 PM
There is no any bugs or problems. You MUST add the dot at the end of the domain/subdomain in the DNS records in order to recognize such domains/subdomains as FQDN (fully qualified domain name). In case you don't add the dot then it is recognized as unqualified domain name and the value from $ORIGIN is added to such domain/subdomain. It is how the DNS system works.
Title: Re: Format issue with dots
Post by: luca on October 16, 2024, 03:27:35 PM
Friend,

I know. That's what I said. I understand it's not a bug.

I said something else.

It would be nice if you could validate the field. Alert if person doesn't add the dot. Thats all.

Thanks.