How to Prevent Windows 10 DNS Leaks

One of the main reasons to use a VPN is to secure your privacy while browsing the internet. But, what if you find out your DNS is leaking from your Windows 10 device? Your browsing history will be exposed if this happens.