A DNS resolver is a server or service that translates a human-readable domain name, such as example.com, into the IP address a computer needs to connect to it. Your device asks the resolver, the resolver walks the DNS hierarchy from root servers to the authoritative server, caches the answer, and returns the IP address to your browser.
Key takeaways
- A DNS resolver does the full lookup for you: it checks its cache, then asks root, TLD and authoritative servers in turn.
- Your resolver is usually set by your ISP or router, but you can switch to a public resolver such as Cloudflare 1.1.1.1 or Google 8.8.8.8.
- Resolvers affect speed, privacy and security: choose one that validates DNSSEC and supports encrypted DNS.
You type a website name and the page appears in a blink. Behind that blink, your device had to find the site's IP address first — and it did not do that work alone. A DNS resolver did the searching for it.
What is a DNS resolver?
A DNS resolver is a server or service that translates a domain name into an IP address. When you type example.com, your device asks the resolver, and the resolver returns the address your browser needs to connect.
Computers connect by IP address, not by name. An address such as 93.184.216.34 is hard to remember, so the Domain Name System (DNS) keeps the mapping between names and addresses. The resolver is the part of that system that does the looking up on your behalf.
Cloudflare describes it plainly: your computer cannot perform the translation on its own, so it sends the request to a DNS resolver, which looks up the IP address for a given domain name and returns it to the requesting device. That definition comes from the Cloudflare 1.1.1.1 FAQ.
Resolvers are also called recursive resolvers, because they do the whole job — chasing the answer through the DNS hierarchy — rather than handing you a partial answer and making you finish it yourself.
How does a DNS resolver work?
A resolver checks its cache first, then asks a root server, a top-level domain server and finally the authoritative server for the domain, in that order. Each server points it one step closer to the answer.
Here is the full sequence for www.example.com:
- Your device asks. The stub resolver in your operating system sends the query to the configured recursive resolver, usually your ISP's or your router's.
- Cache check. If the resolver recently looked up the same name, it answers from its cache immediately. Most everyday lookups end here.
- Root server. On a cache miss, the resolver asks a root server, which does not know the address but points to the servers for
.com. - TLD server. The
.comserver points to the authoritative nameservers forexample.com. - Authoritative server. That server holds the official records and returns the IP address.
- Answer and cache. The resolver returns the address to your device and stores it for the time set by the record's TTL (time to live).
Notice what the resolver does on your behalf: your device sends one query and gets one answer, while the resolver sends up to three more queries behind the scenes. That is what "recursive" means.
What are the types of DNS resolver?
There are three roles in every lookup: the stub resolver on your device, the recursive resolver that does the searching, and the authoritative server that holds the answer. Some resolvers also filter or forward queries.
| Type | Where it runs | What it does | Example |
|---|---|---|---|
| Stub resolver | On your device | Forwards your query to a recursive resolver | Your OS DNS client |
| Recursive resolver | ISP or public service | Walks the hierarchy and returns the final answer | Cloudflare 1.1.1.1, Google 8.8.8.8 |
| Authoritative server | Domain owner's DNS host | Holds the official records for a domain | Your registrar or DNS host |
| Forwarding resolver | Home router, small office | Passes queries to another resolver, often with a local cache | Many home routers |
| Filtering resolver | Public service or school network | Blocks known malicious or adult domains before answering | Quad9, CleanBrowsing |
The same physical server can play more than one role. Your home router, for example, often acts as a forwarding resolver: it takes queries from devices on your network and passes them to your ISP's recursive resolver.
When people say "DNS resolver" without qualification, they almost always mean the recursive resolver — the one you configure in your network settings.
DNS resolver vs DNS server: what is the difference?
A DNS server is any server that takes part in the DNS system, while a DNS resolver is the specific role that looks up answers for clients. An authoritative server is also a DNS server, but it answers from its own records instead of searching.
The distinction matters when you troubleshoot. If a website's records are wrong, the problem is at the authoritative server, and no resolver change will fix it. If lookups are slow or fail for many sites at once, the problem is more likely your resolver or your connection to it.
Think of it like a library: the authoritative server is the shelf that holds the book, and the resolver is the librarian who fetches it for you. You ask the librarian, not the shelf.
What are the main public DNS resolvers?
The best-known public resolvers are Cloudflare 1.1.1.1, Google Public DNS at 8.8.8.8, and Quad9 at 9.9.9.9. Each is free, works worldwide, and supports encrypted DNS — but they differ on privacy and filtering.
| Resolver | IPv4 address | Privacy approach | Filtering |
|---|---|---|---|
| Cloudflare 1.1.1.1 | 1.1.1.1 and 1.0.0.1 | Does not sell user data; no EDNS Client Subnet | Optional 1.1.1.2 (malware) and 1.1.1.3 (malware + adult) |
| Google Public DNS | 8.8.8.8 and 8.8.4.4 | Logs limited data, deleted after a set period | None by default |
| Quad9 | 9.9.9.9 | Nonprofit, no sale of query data | Blocks known malicious domains by default |
| OpenDNS | 208.67.222.222 | Commercial, account-based controls | Optional content filtering |
| Your ISP resolver | Assigned by DHCP | Varies by provider | Varies; sometimes blocks by court order |
Cloudflare launched 1.1.1.1 in April 2018 as a fast, privacy-first consumer resolver, and it validates DNSSEC signatures on signed records. Google Public DNS, launched earlier, is one of the largest public resolvers in the world and is documented in Google's own introduction.
You can test a resolver before committing to it: change the setting on one device, browse normally for a day, and check whether pages feel faster and whether anything you need is blocked. You can also run our free DNS lookup tool to see what records a domain publishes.
How does a DNS resolver affect security and privacy?
Your resolver sees every domain you look up, so it is a privacy chokepoint — and a security one. A malicious or compromised resolver can redirect you to fake sites, while a good one can block known malicious domains before you reach them.
Three protections matter most. First, DNSSEC validation: a validating resolver checks the cryptographic signatures on signed records, so a tampered answer is rejected instead of returned. Cloudflare's 1.1.1.1 validates DNSSEC on every query where the domain is signed.
Second, encrypted DNS: DNS-over-HTTPS (DoH) and DNS-over-TLS (DoT) encrypt the query between your device and the resolver, so nobody on your local network or ISP can read or change it. Without encryption, DNS queries travel in plain text.
Third, threat filtering: resolvers such as Quad9 and Cloudflare's 1.1.1.2 block domains known to host malware or phishing. This is a useful extra layer, not a replacement for antivirus or browser protection.
For a wider check of your domain's own DNS health, see our guide to what DMARC is.
You can also run our DNS lookup tool to see the records a domain publishes.
How do I change my DNS resolver?
You change your resolver in your device or router network settings, replacing the automatic address with the resolver's IP address. Changing it on your router covers every device on your network at once.
On Windows, go to Settings, Network, then your connection's DNS settings and switch from Automatic to Manual. On macOS, open System Settings, Network, your connection, then DNS. On iPhone, tap the Wi-Fi network, then Configure DNS. On Android, use Private DNS and enter a hostname such as one.one.one.one for Cloudflare.
Always enter two addresses: a primary and a secondary. If the first resolver is unreachable, your device falls back to the second instead of failing every lookup. Write down your original setting first, so you can undo the change in seconds.
After changing, clear your browser cache or restart the browser, then visit a site you have not opened recently. If it loads, the new resolver is working. You can confirm your public IP and network details with our what is my IP tool.
What if DNS resolution is not working?
If websites fail by name but work by IP address, DNS is the problem. Start with the simplest fixes: restart your router, flush your device's DNS cache, and try a public resolver.
- Restart the router and device. This clears stale caches and re-fetches the resolver address from your ISP.
- Flush the DNS cache. On Windows run
ipconfig /flushdns; on macOS runsudo dscacheutil -flushcache. - Try a different resolver. Switch to 1.1.1.1 or 8.8.8.8 temporarily. If sites load, your ISP resolver was the problem.
- Check for a captive portal. On hotel or airport Wi-Fi, you may need to accept terms on a login page before DNS works normally.
- Look for malware. If DNS settings keep changing back on their own, scan the device — something may be rewriting them.
A common confusion is the difference between a DNS problem and a website being down. If one site fails everywhere but others work, the site or its authoritative DNS is the issue. If every site fails, the issue is your resolver or connection. The DNS specification in RFC 1035 defines the record types and message format behind all of this, and it is still the reference implementers use.
The bottom line
A DNS resolver is the quiet helper behind every website visit: one question from your device, a short walk through root, TLD and authoritative servers, and an IP address back in milliseconds. You rarely need to think about it — until it is slow, snooping, or broken.
Stick with your ISP resolver if it works well, or switch to a public resolver such as 1.1.1.1 or 8.8.8.8 for speed, DNSSEC validation and encrypted DNS. Either way, check your domain's own DNS records with the free DNS lookup tool and keep an eye on what your resolver does with your queries.
Frequently asked questions
What is a DNS resolver in simple terms?
A DNS resolver is the service your device asks when it needs the IP address behind a website name. It does the searching through the DNS hierarchy and returns the address, so your browser knows which server to contact.
What is the difference between a DNS resolver and a DNS server?
A DNS server is a broad term for any server in the DNS system. A resolver is a specific role: it looks up answers on your behalf. An authoritative server is the opposite role: it holds the official records for a domain and gives the final answer.
What DNS resolver am I using right now?
On most home networks it is the resolver your ISP assigned through your router, usually via DHCP. You can check it in your network settings, or visit the help page of a public resolver to test whether you are using it.
Is 8.8.8.8 a DNS resolver?
Yes. 8.8.8.8 is Google Public DNS, a free public recursive resolver. Cloudflare 1.1.1.1 and Quad9 9.9.9.9 are other well-known public resolvers you can use instead of your ISP default.
Do DNS resolvers affect internet speed?
Yes, a little. A fast resolver with a large cache answers most lookups in a few milliseconds, while a slow or distant one adds a delay to the first visit to each new site. The difference is usually small compared with page load time, but it is real.
Can a DNS resolver see which websites I visit?
Yes, unless your queries are encrypted. A resolver sees every domain you look up. That is why privacy-focused resolvers advertise no-logging policies and support DNS-over-HTTPS and DNS-over-TLS, which encrypt the query between your device and the resolver.
What happens if my DNS resolver goes down?
Lookups fail and websites stop loading by name, even though your internet connection still works. Switching to another resolver, or restarting your router, usually fixes it. You can test this by visiting a site by its IP address, which skips DNS.
Should I change my DNS resolver?
Consider it if your ISP resolver is slow, blocks sites you need, or you want stronger privacy or malware filtering. For most people the default works fine, and a public resolver is a low-risk change you can reverse in a minute.
Sources
The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.
Checked against Cloudflare's 1.1.1.1 documentation, Google Public DNS documentation and RFC 1035 and RFC 8499.
How we write and fact-check →