OPNsense Forum

English Forums => General Discussion => Topic started by: foss-johnny on February 23, 2026, 12:26:46 AM

Title: Configuring Unbound DNS for Multi-Subnet Proxy Access via NGINX
Post by: foss-johnny on February 23, 2026, 12:26:46 AM
Hi all,

If I have multiple LAN subnets, and I want my clients in each subnet to be able to resolve/route to NGINX running on OPNSense, and then NGINX forwards to a server IP running in a DMZ subnet, what is the correct way to configure the DNS.

Do you setup a single Unbound DNS override entry to point to a single LAN gateway that you designate for NGINX, or do you somehow setup each LAN to have the DNS name of the server resolve to their respective LAN Gateway interfaces?