<div dir="ltr"><div>Hi Sami.</div><div>Have you tried `ecs-forward` in your BIND configuration? it will be described in the -S ARM.</div><div><br></div><div>Cheers, Greg</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Tue, 3 Mar 2026 at 12:54, <<a href="mailto:sami.rahal@sofrecom.com">sami.rahal@sofrecom.com</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"><div class="msg-8261435367296355182">





<div lang="FR" style="overflow-wrap: break-word;">
<div class="m_-8261435367296355182WordSection1">
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Nunito Sans""><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Hello,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I am reaching out regarding the use of EDNS Client Subnet (ECS) in BIND.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Context:<br>
I am testing an environment where:<u></u><u></u></span></p>
<ul style="margin-top:0cm" type="disc">
<li class="MsoNormal"><span lang="EN-US">A dnsdist server receives client queries and injects a specific ECS (e.g., <a href="http://41.226.22.0/24" target="_blank">41.226.22.0/24</a>).<u></u><u></u></span></li><li class="MsoNormal"><span lang="EN-US">These queries are then forwarded to a BIND 9.18-S1 server configured as the final resolver.<u></u><u></u></span></li></ul>
<p class="MsoNormal"><span lang="EN-US">Issue:<br>
BIND does not forward the ECS to upstream servers and does not preserve this information in responses.<u></u><u></u></span></p>
<p class="MsoNormal">Questions:<u></u><u></u></p>
<ul style="margin-top:0cm" type="disc">
<li class="MsoNormal"><span lang="EN-US">Can BIND 9.18-S1 be configured to rewrite or forward an ECS injected by dnsdist?<u></u><u></u></span></li><li class="MsoNormal"><span lang="EN-US">If not, which version or configuration would you recommend for BIND to meet this requirement?<u></u><u></u></span></li></ul>
<p class="MsoNormal" style="margin-left:36pt"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal">Best regards Sami,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>

-- <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>
</div></blockquote></div>