The logs should display original, case-sensitive queries

Hi, this is a minor change, but important for me.
Im using the latest PiHole 6.0.6/6.1 on Debian.

When I send a query for WwW.GoogLE.CoM to pi-hole, I will get the proper response, identical as for www.google.com. This is expected. I understand that DNS system is case-INsensitive.
But the original "casing" will be preserved in the whole chain - it will be forwarded to upstream servers, responded, and the final response to the client will also contain the original "casing".

Can the logs preserve it too?

No. This decision was made by Simon Kelley, the maintainer of dnsmasq with the following reasoning:

[don't] make logs look like ransom notes made out of letters cut from a newspaper

as he thought this would be even more confusing. When looking "on the wire" (e.g., using Wireshark), you'll see the mixed case.

1 Like