Hi All,
Would anybody be able to help me with this query?
If I setup unbound in Pfsense / OPNsense to forward DNS requests to a private DNS service using DoT or DoH (e.g Quad9), and then connect to a VPN on a client on my network, would DNS requests automatically get routed to the VPN’s DNS servers for that client, so my DNS would always be either the private DNS or my VPN providers, but never my ISP’s?
What about if a second client is not connected to VPN, will the DNS queries for that client use the private DNS service simultaneously while the VPN connected client uses the VPN’s DNS?
Based on THIS article it suggests that using Private DNS with a VPN makes it more likely for DNS leaks, so what would be the best way to configure DNS if I want to use private DNS when not connected to VPN, but use the VPN’s DNS when connected to the VPN for any given client?
I would appreciate it if replies could be kept easy to comprehend for a newbie.
Many Thanks
PS. Sorry for the VPN and DNS count!
Would anybody be able to help me with this query?
If I setup unbound in Pfsense / OPNsense to forward DNS requests to a private DNS service using DoT or DoH (e.g Quad9), and then connect to a VPN on a client on my network, would DNS requests automatically get routed to the VPN’s DNS servers for that client, so my DNS would always be either the private DNS or my VPN providers, but never my ISP’s?
What about if a second client is not connected to VPN, will the DNS queries for that client use the private DNS service simultaneously while the VPN connected client uses the VPN’s DNS?
Based on THIS article it suggests that using Private DNS with a VPN makes it more likely for DNS leaks, so what would be the best way to configure DNS if I want to use private DNS when not connected to VPN, but use the VPN’s DNS when connected to the VPN for any given client?
I would appreciate it if replies could be kept easy to comprehend for a newbie.
Many Thanks

PS. Sorry for the VPN and DNS count!
Last edited: