[Dnsmasq-discuss] Option to skip 0x20 encoding

Simon Kelley simon at thekelleys.org.uk
Mon Feb 3 21:16:49 UTC 2025


https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commitdiff;h=5226b712a33948e34862de698ba4580ca8bcfb99

Cheers,

Simon.

On 2/3/25 17:27, wornandrew via Dnsmasq-discuss wrote:
> Hi.
> I've ran into a misbehaving server which doesn't preserve case in replies.
> (e.g. if query is exAMPLE.Com then the response is example.com)
> This causes dnsmasq to drop the replies as malicious.
> 
> This was not noticeable before 0x20 encoding was implemented in 2.91
> as clients only ever sent lowercase queries. But now dnsmasq mangles
> the case of all forwarded names with no apparent way to avoid this.
> 
> It would be nice to have an option to bypass 0x20 encoding for forwarded queries and instead send them as is.
> 
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss
> 




More information about the Dnsmasq-discuss mailing list