<html class="apple-mail-supports-explicit-dark-mode"><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"></div><div dir="ltr">Thank you Michel</div><div dir="ltr">Indeed it works but this is quite some work when it could be so easy...</div><div dir="ltr">I guess the only guys doing a good job here are the Technitium guys</div><div dir="ltr"><br><blockquote type="cite">On Nov 12, 2025, at 11:49 PM, Michel Otte <michel@cybox.nl> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi Alexis,</div><div><br></div><div>dnsdist supports both the PROXY protocol via `useProxyProtocol` parameter and the X-Forwarded-For, X-Forwarded-Port and X-Forwarded-Proto headers via the `addXForwardedHeaders` parameter, both of which you can enable via newServer: [1].</div><div><br></div><div>AdGuard currently does not support the PROXY protocol: [2], [3]. But according to this issue it does support the X-Forwarded-For header. The latter obviously only works if the connection to the backend is made via HTTP(S), so you should be using a DoH backend connection to AdGuard Home to make it work.</div><div></div><div><br></div><div>[1]: <a href="https://www.dnsdist.org/reference/config.html#newServer" target="_blank">https://www.dnsdist.org/reference/config.html#newServer</a></div><div>[2]: <a href="https://github.com/AdguardTeam/AdGuardHome/issues/5694" target="_blank">https://github.com/AdguardTeam/AdGuardHome/issues/5694</a></div><div>[3]: <a href="https://github.com/AdguardTeam/AdGuardHome/issues/2798" target="_blank">https://github.com/AdguardTeam/AdGuardHome/issues/2798</a></div><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><font color="#000000" style="font-size:12.8px"><span style="font-size:12.8px"><br></span></font></div><font color="#000000">With kind regards,</font></div><div class="gmail_signature"><font color="#000000">Michel Otte</font></div></div></div><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">My setup is a dnsdist server load balancing traffic to two adguard home, the last issue I face is that right now the dnstdist does not pass through the source IP which I’d like to see on Adguard for filtering.<br>
Is there an easy way to do that?<br>
Does someone have a simlar setup that works?<br>
Thank you<br>
Alexis<br>
_______________________________________________<br>
dnsdist mailing list<br>
<a href="mailto:dnsdist@mailman.powerdns.com" target="_blank">dnsdist@mailman.powerdns.com</a><br>
<a href="https://mailman.powerdns.com/mailman/listinfo/dnsdist" rel="noreferrer" target="_blank">https://mailman.powerdns.com/mailman/listinfo/dnsdist</a><br>
</blockquote></div></div>
</div>
</div></blockquote></body></html>