Routing unbound DNS through VPN tunnel

Started by rama3124, January 29, 2023, 12:11:58 AM

Previous topic - Next topic
Hi
I have setup opnsense to route all LAN traffic through a VPN tunnel using PIA and wireguard (as per script made by Fingerless Gloves) but apparently there may still be DNS leaks if using a local DNS server. I use the unbound DNS server on opnsense, how can I route this through the tunnel to avoid DNS leaks. Or is there another easier way to avoid leaks?