Multi-WAN DNS

Started by Tearlach, September 23, 2025, 10:39:19 PM

Previous topic - Next topic
Newbie here, running 25.7.3_7.  I note that under System → Settings → General, one can specify any existing gateway for a DNS server.  However, one cannot specify a gateway group.  Is this omission by design?  Thanks.

The aim of assigning a gateway to a DNS server is that pfSense uses the proper internet connection for the server.

For instance, if you specify the DNS server of your ISP, it's probably only reachable from the ISP's internal network. So it's a good advice to assign a gateway to the DNS. Then OPNsense will only send requests to this server if the respective gateway is online.
DNS requests from another internet connection would fail.

So stating a gateway group here would not make much sense.

If you use only public DNS servers you can leave the gateway blank. In this case OPNsense will use the defined upstream gateways according their priorities.