The Domain Name System maps names people use, such as example.com, to data computers need, such as an IPv4 or IPv6 address. It is distributed: no single server holds every answer.

The lookup path

The application checks nearby caches

Your browser and operating system may already have a recent answer. If so, no full lookup is necessary.

The recursive resolver does the work

Your device asks a resolver, often provided by the router, ISP, workplace, VPN, or a public DNS service.

The resolver follows referrals

If the answer is not cached, the resolver can ask root, top-level-domain, and authoritative name servers to locate the final record.

The answer is cached

The resolver and client store the response for a period controlled by its time to live, reducing delay and repeated traffic.

The application connects

DNS provided an address; the browser still must establish a transport connection and negotiate encryption before requesting content.

Common DNS record types

TypePurposeExample use
AMaps a name to an IPv4 addressA website endpoint
AAAAMaps a name to an IPv6 addressAn IPv6-capable endpoint
CNAMEAliases one name to anotherwww pointing to a hosting name
MXNames mail exchangers and priorityWhere inbound email is delivered
TXTStores text used by many protocolsEmail authentication and domain verification
NSDelegates a DNS zone to name serversAuthoritative hosting for a domain
PTRMaps an address back to a nameReverse DNS, often used in mail checks
CAAStates which certificate authorities may issueCertificate policy

Caching, TTL, and “DNS propagation”

Each record has a time to live (TTL) that tells caches how long they may reuse it. When a record changes, some resolvers may still return the older cached value until that TTL expires. This staggered transition is often called propagation, although the new record is not being pushed to every DNS server.

Lowering a TTL before a planned migration can shorten the cache window, but it also increases query load. Raising it later improves cache efficiency.

What changing your DNS resolver can improve

A different recursive resolver can help when the current one is unreliable, slow to answer, filters domains unexpectedly, or lacks a feature you need. Resolver location and routing can also influence which content-delivery endpoint some services choose.

Changing DNS does not increase the capacity of the Wi-Fi link or ISP plan. Once an address has been resolved and a connection established, bulk transfer performance is governed elsewhere.

Tradeoff: the resolver can observe the names your device requests unless the query is encrypted and other privacy measures apply. Consider reliability, privacy policy, filtering behavior, and administrative needs—not only a benchmark.

Encrypted DNS

Traditional DNS queries are commonly sent without encryption. DNS over HTTPS (DoH) and DNS over TLS (DoT) encrypt the connection between a client and compatible resolver. This can protect queries from observation or modification on that segment.

Encrypted DNS does not hide the destination from the destination itself, and other metadata may still reveal which service is being used. It also changes where policy and visibility live, which matters on managed networks.

Troubleshoot DNS on Windows

Inspect the configured resolver addresses:

Get-DnsClientServerAddress |
  Where-Object ServerAddresses |
  Select-Object InterfaceAlias, AddressFamily, ServerAddresses

Query a name with the default resolver:

nslookup example.com

Query a specific resolver for comparison:

nslookup example.com 1.1.1.1

Clear the local Windows DNS client cache when you suspect a stale local answer:

ipconfig /flushdns

If a name fails, check whether the failure affects one domain or many, one device or all devices, and both A and AAAA lookups. A timeout is different from a valid “name does not exist” response and points to a different next step.