[Dnsmasq-discuss] Fwd: Errors in address FQDN name combinations with hyphens
Petr Menšík
pemensik at redhat.com
Tue May 3 15:02:30 UTC 2022
Those hostnames are invalid. No host can start or end with -. Double or
triple does not matter.
Host like 7cjyxsb--.micpn.com should be refused. But I admit it might be
useful to be able to block such invalid names from going forward. For
example with --local=/7cjyxsb--.micpn.com/ might be able to accept even
invalid names and report them with just a warning.
But defining an address served by dnsmasq should be still forbidden on
invalid hostnames.
On 5/2/22 16:11, mito mito wrote:
> Hi,
>
> I finally managed to understand the problem.
>
> What had happened is that I had updated dnsmasq from the official
> debian repository and this time it was compiled with the IDN2 option
> (which makes it compliant with domain name rules)
>
> I have downloaded the latest version from source and commented out the
> IDN2 related lines and no longer have any problems.
>
> I will refrain from using IDN2 until the entire internet complies with
> these rules.
>
> Greetings
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss
--
Petr Menšík
Software Engineer
Red Hat, http://www.redhat.com/
email: pemensik at redhat.com
PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20220503/21f61d3f/attachment.htm>
More information about the Dnsmasq-discuss
mailing list