[Dnsmasq-discuss] Option to skip 0x20 encoding

wornandrew wornandrew at proton.me
Mon Feb 3 17:27:28 UTC 2025


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.



More information about the Dnsmasq-discuss mailing list