ProxyZen

Best DNS servers in 2026: fast, private and free (with IPv6)

28 November 2026 · 2 min read

The best free public DNS servers — Cloudflare 1.1.1.1, Google 8.8.8.8, Quad9, AdGuard, OpenDNS — with IPv4 and IPv6 addresses, how to change DNS on Windows, macOS and Android, and how DNS works with proxies.

DNS turns a website name into an IP address. Your provider’s DNS is often slow, logs requests and sometimes blocks sites. A public DNS server is usually faster and more private — and it takes a minute to switch.

Public DNS servers: addresses

Provider IPv4 IPv6 DoH / DoT
Cloudflare 1.1.1.1, 1.0.0.1 2606:4700:4700::1111 one.one.one.one
Google Public DNS 8.8.8.8, 8.8.4.4 2001:4860:4860::8888 dns.google
Quad9 9.9.9.9, 149.112.112.112 2620:fe::fe dns.quad9.net
AdGuard DNS 94.140.14.14, 94.140.15.15 2a10:50c0::ad1:ff dns.adguard-dns.com
OpenDNS 208.67.222.222, 208.67.220.220 2620:119:35::35 —

DoH/DoT (DNS over HTTPS/TLS) encrypts DNS requests so your provider cannot read them.

Which one to choose

  • Cloudflare 1.1.1.1 — usually the fastest, minimal logging.
  • Google 8.8.8.8 — very stable, available everywhere.
  • Quad9 — blocks known malicious domains.
  • AdGuard DNS — blocks ads and trackers at DNS level.
  • OpenDNS — parental control and filtering options.

How to change DNS

  • Windows: Settings → Network & Internet → your connection → DNS server assignment → Edit → Manual, enter IPv4 and IPv6 addresses.
  • macOS: System Settings → Network → connection → Details → DNS → add servers with “+”.
  • Android: Settings → Network → Private DNS → enter the hostname, e.g. one.one.one.one or dns.google.
  • Router: set DNS in the WAN/DHCP settings — it applies to every device at home.

DNS and proxies: avoid DNS leaks

When you work through a proxy, DNS requests can still go to your own provider and reveal your real location. To avoid this:

  • With SOCKS5 use remote DNS resolution (socks5h:// in curl and code, “Resolve hostnames through proxy” in Proxifier).
  • In antidetect browsers enable DNS through the proxy.
  • Check the result in our IP check — it shows DNS and WebRTC leaks.

Read more in browser leaks: WebRTC, time zone and DNS.

Private proxies without DNS leaks — IPv4, IPv6, residential and mobile with SOCKS5: see prices.

Try ProxyZen

Private IPv4 and IPv6 for 3 to 90 days, residential and mobile per GB. Instant delivery, HTTP(S) and SOCKS5.

Trustpilot Write a review