OPNsense Forum

English Forums => 26.1 Series => Topic started by: ATW on March 19, 2026, 11:43:58 PM

Title: Specifying which interface HAProxy uses to contact a DNS server?
Post by: ATW on March 19, 2026, 11:43:58 PM
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?