<div dir="auto">I’d put money on the fact that that domain is fundamentally broken with CNAME at apex as having something to do with it.</div><div dir="auto"><br></div><div dir="auto">The BIND instance having the problem wouldn’t also happen to be downstream from another caching resolver?</div><div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Sat, Jul 25, 2026 at 12:33 AM Ondřej Surý <<a href="mailto:ondrej@isc.org">ondrej@isc.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Well, if xn--i1bn6adp9emg4dcbcajdeflxp1gua1n7bt10abief.xn--11b7cb3a6a.xn--h2brj9c<br>
matches bad-domain1.example. then something is definitely wrong.<br>
<br>
If you are not willing to share the exact reproducer than there's little we can do to help you.<br>
<br>
Ondrej<br>
--<br>
Ondřej Surý (He/Him)<br>
<a href="mailto:ondrej@isc.org" target="_blank">ondrej@isc.org</a><br>
<br>
ADHD brain at work: I sometimes lose track of my inbox. Please feel free to send a gentle nudge if you're waiting on a reply!<br>
<br>
My working hours and your working hours may be different. Please do not feel obligated to reply outside your normal working hours.<br>
<br>
> On 25. 7. 2026, at 09:28, Sachchidanand Upadhyay <<a href="mailto:supadhyay@nkn.in" target="_blank">supadhyay@nkn.in</a>> wrote:<br>
> <br>
> Hi Ondrej,<br>
> <br>
> Thank you for your response. <br>
> <br>
> Each listed domain in the RPZ is rewritten via a CNAME to a single policy domain, and that policy domain has an A record in its authoritative zone.<br>
> <br>
> For example:<br>
> <br>
> bad-domain1.example. CNAME <a href="http://policy.example.net" rel="noreferrer" target="_blank">policy.example.net</a>.<br>
> bad-domain2.example. CNAME <a href="http://policy.example.net" rel="noreferrer" target="_blank">policy.example.net</a>.<br>
> bad-domain3.example. CNAME <a href="http://policy.example.net" rel="noreferrer" target="_blank">policy.example.net</a>.<br>
> bad-domain4.example. CNAME <a href="http://policy.example.net" rel="noreferrer" target="_blank">policy.example.net</a>.<br>
> <br>
> and in the authoritative zone:<br>
> <br>
> <a href="http://policy.example.net" rel="noreferrer" target="_blank">policy.example.net</a>. A <IP address><br>
> <br>
> <br>
> The same RPZ ruleset works correctly on BIND 9.20.23, while BIND 9.20.26 logs the rewrite failure for the same query.<br>
> <br>
> Regards,<br>
> Sachchidanand Upadhyay<br>
> <br>
> <br>
> <br>
> <br>
> <br>
> <br>
> From: Ondřej Surý <<a href="mailto:ondrej@isc.org" target="_blank">ondrej@isc.org</a>><br>
> To: "Sachchidanand Upadhyay"<<a href="mailto:supadhyay@nkn.in" target="_blank">supadhyay@nkn.in</a>><br>
> Cc: "bind-users"<<a href="mailto:bind-users@lists.isc.org" target="_blank">bind-users@lists.isc.org</a>><br>
> Date: Fri, 24 Jul 2026 17:12:09 +0530<br>
> Subject: Re: Different RPZ behavior for IDN domains between BIND 9.20.23 and 9.20.26<br>
> <br>
> What is the rule to trigger this? It is hard to debug without seeing the exact ruleset that’s being used.<br>
> <br>
> Ondrej<br>
> --<br>
> Ondřej Surý (He/Him)<br>
> <a href="mailto:ondrej@isc.org" target="_blank">ondrej@isc.org</a><br>
> <br>
> ADHD brain at work: I sometimes lose track of my inbox. Please feel free to send a gentle nudge if you're waiting on a reply!<br>
> <br>
> My working hours and your working hours may be different. Please do not feel obligated to reply outside your normal working hours.<br>
> <br>
> On 24. 7. 2026, at 13:04, Sachchidanand Upadhyay via bind-users <<a href="mailto:bind-users@lists.isc.org" target="_blank">bind-users@lists.isc.org</a>> wrote:<br>
> <br>
> Hello, <br>
> <br>
> I am observing different RPZ behavior for an IDN domain after upgrading from BIND 9.20.23 to 9.20.26 and would appreciate any guidance.<br>
> <br>
> Environment:<br>
> <br>
> BIND 9.20.23: Works as expected<br>
> BIND 9.20.26: Fails<br>
> The BIND configuration and RPZ configuration are identical on both versions.<br>
> <br>
> The queried domain is an IDN. The domain itself is not present in the RPZ, yet BIND 9.20.26 logs an "RPZ QNAME rewrite failed" message for the query, while the same query is resolved successfully on BIND 9.20.23 using the same configuration. Below are the logs<br>
> <br>
> 24-Jul-2026 15:37:16.288 query-errors: debug 3: client @0x7fd386c93800 <client_IP>#41889 (xn--i1bn6adp9emg4dcbcajdeflxp1gua1n7bt10abief.xn--11b7cb3a6a.xn--h2brj9c): view internal: rpz QNAME rewrite xn--i1bn6adp9emg4dcbcajdeflxp1gua1n7bt10abief.xn--11b7cb3a6a.xn--h2brj9c stop on qresult in rpz_rewrite(): failure<br>
> 24-Jul-2026 15:37:16.288 query-errors: info: client @0x7fd386c93800 <client_IP>#41889 (xn--i1bn6adp9emg4dcbcajdeflxp1gua1n7bt10abief.xn--11b7cb3a6a.xn--h2brj9c): view internal: query failed (failure) for xn--i1bn6adp9emg4dcbcajdeflxp1gua1n7bt10abief.xn--11b7cb3a6a.xn--h2brj9c/IN/A at query.c:7651<br>
> 24-Jul-2026 15:37:16.288 query-errors: debug 4: fetch completed for xn--i1bn6adp9emg4dcbcajdeflxp1gua1n7bt10abief.xn--11b7cb3a6a.xn--h2brj9c/A in 0.042000: failure/deadlock found [domain:xn--i1bn6adp9emg4dcbcajdeflxp1gua1n7bt10abief.xn--11b7cb3a6a.xn--h2brj9c,referral:1,restart:2,qrysent:4,timeout:0,lame:0,quota:0,neterr:0,badresp:0,adberr:0,findfail:0,valfail:4]<br>
> <br>
> If anyone has encountered this issue before or is aware of a workaround or solution, I would be grateful for your suggestions.<br>
> <br>
> Regards,<br>
> Sachchidanand Upadhyay<br>
> <br>
> <br>
> -- <br>
> Visit <a href="https://lists.isc.org/mailman/listinfo/bind-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a> to unsubscribe from this list.<br>
> <br>
> <br>
<br>
-- <br>
Visit <a href="https://lists.isc.org/mailman/listinfo/bind-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a> to unsubscribe from this list.<br>
<br>
</blockquote></div></div>