If my pi is behind a VPN, do the DNS queries to DNS root servers from unbound get routed through the VPN? If not, both my VPN provider as my ISP would know the websites I’d visit, which might arguably be worse than not even running a VPN.
So, do the DNS queries get routed through my VPN?
The scenario is this:
Dns request for google.com to pi hole (from localhost or external)
Pi hole checks blacklist and cache.
Not in there? Ask the dns provider, in this case unbound.
Unbound asks the dns root root, gives com root. Unbound asks com root, gives google root. Unbound asks google root, gives ip.
So my question is whether the unbound requests to the dns roots/google go through vpn.