<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Aptos;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:12.0pt;
        font-family:"Aptos",sans-serif;}
code
        {mso-style-priority:99;
        font-family:"Courier New";}
span.E-MailFormatvorlage19
        {mso-style-type:personal-reply;
        font-family:"Aptos",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        mso-ligatures:none;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE link="#467886" vlink="#96607D" style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>Did you try a local CNAME override instead of specific records? The use cases I tried that worked perfectly.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>Regards,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>Joachim<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>Von:</span></b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> Dnsmasq-discuss <dnsmasq-discuss-bounces@lists.thekelleys.org.uk> <b>Im Auftrag von </b>iconoclast hero<br><b>Gesendet:</b> Donnerstag, 5. November 2026 16:50<br><b>An:</b> dnsmasq-discuss@lists.thekelleys.org.uk<br><b>Betreff:</b> Re: [Dnsmasq-discuss] [PATCH 0/2] Stop forwarding queries for names that only exist locally<o:p></o:p></span></p></div><p class=MsoNormal><o:p> </o:p></p><p>Hi Dominik,<o:p></o:p></p><p>This addresses a problem I've been working around with Pi-hole and local DNS overrides.<o:p></o:p></p><p>I have several hostnames that exist both in public DNS (Cloudflare) and in my local DNS configuration. Their local A records correctly resolve to my reverse proxy, but HTTPS queries are still forwarded upstream and return the public HTTPS records, including Cloudflare's ECH configuration.<o:p></o:p></p><p>With ECH enabled in the browser (chromium fork, encrypted-client-hello: enabled), this causes connections to my local services to fail because my local reverse proxy doesn't have the corresponding ECH configuration.<o:p></o:p></p><p>My current workaround is to maintain a separate Pi-hole regex denylist entry for every local hostname, matching only HTTPS queries. That works when it works, but it means maintaining two separate lists of local hostnames. (However, it does not consistently work.)<o:p></o:p></p><p>Your proposed <code><span style='font-size:10.0pt'>--local-hosts</span></code> option sounds like exactly the behavior needed here: return an empty NOERROR response for record types that aren't locally configured, rather than forwarding those queries upstream.<o:p></o:p></p><p>I would very much welcome this change. It would solve the problem without requiring per-host filtering rules and would preserve normal upstream resolution for other names in the same public domain.<o:p></o:p></p><p>Thanks for working on this.<o:p></o:p></p><p><o:p> </o:p></p></div></body></html>