# DNS Resolver

> The service your device asks to look up a name. It finds the answer and keeps it a while.

**Field:** Infrastructure  
**Category:** Networking  
**Also known as:** Recursive Resolver, DNS Recursive Resolver, Public DNS Resolver

## Think of it like

Think of a friend who finds phone numbers for you. If they do not know one, they ask around, then remember it.

## Definition

A DNS resolver is the service your device asks for the IP address behind a name. If it does not know the answer, it asks the servers that do. It goes one step at a time, from the top of the name system down. Then it keeps the answer for as long as the record allows. Your internet provider runs one, and public ones are free to use.

## Example

Emma's laptop asks its resolver for a shop's address. The resolver found it ten minutes ago. So it answers at once.

## Example code

```console
$ dig @1.1.1.1 +short example.com
203.0.113.10
```

The @ picks which resolver to ask. The line below is the address it sends back.

## Why it matters

Every lookup goes through a resolver. A slow or broken one makes every site seem slow or down.

## Common mistake

Blaming a site when only your resolver is wrong. Asking a second resolver shows if the problem is yours.

## Three principles

- **Asks on your behalf.** Your device asks once, and the resolver does the rest.
- **Keeps the answer.** It reuses it until the record's time runs out.
- **You can pick one.** Your provider's, or a public one you trust.

## Related terms

- [Domain Name System (DNS)](https://learn.benibix.com/term/infrastructure/dns)
- [Internet Protocol Address (IP Address)](https://learn.benibix.com/term/infrastructure/ip-address)
- [Dynamic Host Configuration Protocol (DHCP)](https://learn.benibix.com/term/infrastructure/dhcp)

## Taught in

- [DNS and Domain Names](https://learn.benibix.com/learn/infrastructure-networking/dns-and-domain-names): Computer Networking, 7/13

![Three boxes. A browser that wants emmas-shop.com asks a DNS resolver for the number. The resolver asks the servers that know, keeps the answer a while, and replies 203.0.113.10. A curved arrow shows the browser then connecting to the shop's server at that number.](https://learn.benibix.com/diagrams/infc-dns-lookup.svg)

---

Source: https://learn.benibix.com/term/infrastructure/dns-resolver
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
