To prevent websites from being saved in your DNS cache, use a VPN with DNS leak protection or configure your network settings to use DNS servers that don’t log queries. Among the most popular ones are Cloudflare (1.1.1.1) and Google (8.8.8.8), but if these don’t work for you, consider checking out this list of free DNS servers.