<div dir="ltr"><div dir="ltr">On Thu Nov 5 20:05:13 UTC 2026 Joachim Lindenberg wrote:<br>> <span style="color:rgb(232,230,227);white-space:pre-wrap;background-color:transparent">Did you try a local CNAME override instead of specific records? The use cases I tried that worked perfectly.
So I tried this and it seemed to work, but I was hoping to obviate the need to maintain more than one record for the same local DNS record/resolution.</span></div><div><span style="color:rgb(232,230,227);white-space:pre-wrap;background-color:transparent">
I <b>added</b> intermediate Local DNS records for:
<ul><li><p>my-server → [local IPv4 of my-server]</p></li><li><p>my-server → [local IPv6 of my-server]</p></li></ul></span></div><div><span style="color:rgb(232,230,227);white-space:pre-wrap;background-color:transparent">I <b>removed</b> Local DNS records for:</span></div><ul><li><p><a href="http://service.my-domain.com">service.my-domain.com</a> → [local IPv4 of my-server]</p></li><li><p><a href="http://service.my-domain.com">service.my-domain.com</a> → [local IPv6 of my-server]</p></li></ul><div><span style="color:rgb(232,230,227);white-space:pre-wrap;background-color:transparent">And <b>added</b> a Local CNAME record:</span></div><div><p></p><ul><li><p><a href="http://service.my-domain.com">service.my-domain.com</a> → my-server</p></li></ul><p></p></div><div><span style="color:rgb(232,230,227);white-space:pre-wrap;background-color:transparent">And then <b>disabled</b> the Regex deny for</span></div><div><span style="color:rgb(232,230,227);white-space:pre-wrap;background-color:transparent"><p></p><ul><li><p><a href="http://service.my-domain.com">service.my-domain.com</a>;querytype=HTTPS</p></li></ul></span></div><div><span style="color:rgb(232,230,227);white-space:pre-wrap;background-color:transparent"><p>This appears to work, but is this the workaround you intended? I was hoping to avoid maintaining both the intermediate A/AAAA records and the CNAME records for local DNS resolution.</p><p>My original issue is that Pi-hole retrieves the upstream HTTPS/SVCB record, which contains Cloudflare's outer ECH key and causes the browser to return an ECH mismatch error. Is there a way to prevent that upstream lookup using the local DNS record itself, without requiring the additional CNAME arrangement?</p><p>And this is why Dominik's proposed <code dir="ltr">--local-hosts</code> option seemed promising to me. It would allow Pi-hole to treat locally defined names as locally authoritative for other record types, rather than forwarding those queries upstream. That would avoid retrieving Cloudflare's HTTPS/SVCB record and the associated ECH problem, without requiring the additional intermediate records.</p><p>Ultimately, Pi-hole provides a Local DNS resolution feature, but that feature doesn't appear to account for browser behavior when ECH is enabled. I get the impression this has become something of a hot potato between Pi-hole and dnsmasq. I'm trying to understand what solutions are possible so that users of the former can easily configure split DNS resolution without having to worry about the behavior of the latter, and with as few additional moving parts as possible.</p><p>None of this was even an issue until I upgraded my browser to deal with GNOME 51 and ran into ECH errors. Now that I understand what Cloudflare describes as the advantages of ECH, I want to retain the privacy it affords without having to redesign my split-DNS configuration.</p></span></div></div>