Specifying which interface HAProxy uses to contact a DNS server?

Started by ATW, March 19, 2026, 11:43:58 PM

Previous topic - Next topic
March 19, 2026, 11:43:58 PM Last Edit: Today at 12:26:57 AM by ATW Reason: Troubleshooting yielded new information
Update: Different issue altogether.

HAProxy is trying to resolve DNS queries using a DNS server on our LAN.

However: It is doing-so by using the WAN interface, and not the directly-connected LAN interface!

How can I tell HAProxy to use a specific interface/IP Address when communicating with a DNS server that resides on our LAN?