Thanks for your help.
When you say "the OPNsense IP for the DNS", does this mean the DNS server entered in System > Settings > General? If this is the case, I don't understand why disabling Unbound doesn't then make the DHCP server hand out 1.1.1.1 to the clients on my network.
If I enter 1.1.1.1 in DNS servers under Services: ISC DHCPv4: [LAN], then disable Unbound, I lose all internet access again. Something is not right and I'm stuck as to what it is.
Ultimately this is what I want to do, and take advantage of the many other features of OPNsense to improve my network, but right now I'm just trying to learn the basics and I'm already out of my depth!
Quote from: viragomann on March 01, 2025, 10:28:47 PMThe DHCP serve hands out the OPNsense IP for the DNS by default. If you want to use another one go to the DHCP settings and state its IP there.
The DNS server you've entered in the General settings is only used by OPNsense itself.
When you say "the OPNsense IP for the DNS", does this mean the DNS server entered in System > Settings > General? If this is the case, I don't understand why disabling Unbound doesn't then make the DHCP server hand out 1.1.1.1 to the clients on my network.
If I enter 1.1.1.1 in DNS servers under Services: ISC DHCPv4: [LAN], then disable Unbound, I lose all internet access again. Something is not right and I'm stuck as to what it is.
QuoteHowever, instead of disable Unbound DNS entirely and push an external DNS to the clients, I'd rather forward the Unbounds DNS requests to the desired server.
You can configure this in the Unbound settings.
But if you want to direct Unbound upstream request over the VPN you have to add a static route for it (in case the VPN is not used for the default route) and enable the use of the VPN interface in Unbound.
Ultimately this is what I want to do, and take advantage of the many other features of OPNsense to improve my network, but right now I'm just trying to learn the basics and I'm already out of my depth!