Use only a trusted and anonymous DNS provider. Many VPN providers offer their own DNS servers for use by their customers. There are also private DNS services that can be used in the place of your ISP's DNS servers.