Networking Basics

What Is a Public DNS Server?

A public DNS server is a domain resolver that organizations such as Google, Cloudflare, Alibaba Cloud and Tencent offer free to the public. You install nothing: point your device or router at its IP address and it resolves every domain for you.

How It Differs from Your ISP DNS

How Resolution Works

Your device asks the configured resolver for a domain. The resolver checks its cache, otherwise walks the delegation chain from the root, through the TLD servers, to the authoritative server, then returns the address and caches it for the TTL.

Major public resolvers use Anycast: the same IP (for example 8.8.8.8) is announced from many data centres, so your query is answered by the nearest one.

Common Public DNS Servers

ProviderPrimaryBackupNotes
Google8.8.8.88.8.4.4Well known and stable
Cloudflare1.1.1.11.0.0.1Privacy focused, fast
AliDNS223.5.5.5223.6.6.6Fast in China
DNSPod119.29.29.29119.28.28.28Tencent Cloud, fast in China
114DNS114.114.114.114114.114.115.115Popular in China, safe edition blocks malware
Quad99.9.9.9149.112.112.112Blocks malicious domains

When Public DNS Helps

Look up any DNS server IP to see its location, ISP and ASN. →