When using a VPN, IP/DNS leakage occurs when unencrypted DNS queries are sent by my system outside the established VPN tunnel. When leakage occurs, my ISP or anyone with the ability to monitor my line knows the names my system is resolving (e.g., web sites visited). My understanding is such leakage will happen if my local DNS server and default gateway IP match.
So when using a VPN, it's possible to prevent IP/DNS leakage by using a public DNS (say Google) instead of my ISP provided local DNS?

So when using a VPN, it's possible to prevent IP/DNS leakage by using a public DNS (say Google) instead of my ISP provided local DNS?
