CyberSurfaceMap
EXTERNAL ATTACK SURFACE INTELLIGENCE
Learning Hub/DNS / NETWORKING

FIELD GUIDE / DNS

DNS Fundamentals and Name Resolution

Follow a browser request from a name someone can remember to the records a computer needs. Along the way, meet recursive resolvers, authoritative nameservers, caching, and the limits of what a DNS answer proves.

Beginner·12 min read·Updated October 2026

A browser request begins

Imagine Maya on the IT team at fictional Northstar Retail. A colleague reports that shop.northstar.example is not opening. Maya knows the shop is an application, but the browser needs networking information before it can connect. DNS is the naming system that helps answer the question: “What information is published for this name?”

northstar.example uses the reserved .example suffix for documentation. It is an illustrative name, not a public website to look up. In a real investigation, use a domain you own or are authorized to assess.

Maya starts by separating three things: the name people type, the DNS records published for that name, and the IP address to which a client may connect. They are related, but they are not the same thing.

The recursive resolver: the guide who looks it up

Most devices send DNS questions to a recursive resolver, which may be operated by an internet provider, an employer, a cloud platform, or a public DNS service. The resolver’s job is to return an answer or an appropriate error. It can often answer from its cache, so it does not necessarily contact other DNS servers for every request.

Before asking the resolver, software may check local caches and configuration. If a usable answer is already cached, the lookup can finish quickly. If not, the resolver may need to find the authoritative source for the name.

A resolver is not the same as an authoritative nameserver. The recursive resolver finds or reuses an answer for the client; the authoritative server publishes the records for a DNS zone.

Following the DNS hierarchy

When the recursive resolver has no cached path to an answer, DNS’s hierarchy helps it find the right place to ask. At a high level, the resolver can start with the root, follow a referral to the appropriate top-level-domain (TLD) servers, and then follow delegation to the domain’s authoritative nameservers.

The root does not normally contain every website’s IP address. It points resolvers toward the next part of the hierarchy. TLD servers help direct queries to the authoritative nameservers for a registered domain. Those authoritative servers publish records such as A, AAAA, MX, and TXT, depending on the zone’s configuration.

Real resolution is not always a full trip through every level. Cached referrals and cached records can let a resolver skip work. DNS also supports delegating subdomains to separate zones, so administration can be split across teams or providers.

What comes back from an authoritative server?

Suppose a real domain has an A record for its web hostname. The answer contains an IPv4 address. An AAAA record supplies an IPv6 address. A CNAME points one name at another DNS name, which may then need its own resolution. Other record types answer different questions: MX records identify mail exchangers, while TXT records publish text used for several operational purposes.

DNS does not promise that a name has only one address, that the address never changes, or that every visitor receives an identical answer. Load balancing, content-delivery networks, failover, split-horizon DNS, and geographic steering can all affect the response seen by a client.

An address is also not proof of ownership. Many customers can share cloud or hosting infrastructure, and a third-party provider may operate the endpoint. Record the evidence and validate attribution before drawing conclusions.

Why the same lookup can change over time

DNS records can have a time to live (TTL), which tells caches how long an answer may be reused. While an answer remains valid in cache, different lookups may return it without asking the authoritative servers again. After the cached entry expires, a resolver can seek a fresh answer.

This is why a record change does not always appear everywhere instantly. One resolver may still have a cached answer while another has already fetched the updated record. DNS negative answers can also be cached. The result is not necessarily a fault; it can be normal cache behavior.

For a deeper explanation of caches, TTL, and DNS changes, continue with DNS Caching, TTL, and Propagation.

What defenders can and cannot conclude

Maya uses approved DNS observations to compare Northstar’s external inventory with the names the team expects to operate. An unfamiliar hostname becomes a question to investigate, not immediate proof of a weakness. She checks the record type, query time, business owner, provider relationship, and whether the hostname is still intended to exist.

DNS can help discover names and technical dependencies, but it does not expose every asset, reveal every application detail, or by itself establish a vulnerability. A public record is normal for many public-facing services. Risk needs separate evidence about the service, its configuration, its ownership, and its potential impact.

Use these methods only for domains and systems you own or have explicit permission to assess. Start with passive records and approved inventories, and avoid probing unrelated infrastructure just because a name resolved to an address.

A practical lookup checklist

  1. Confirm that the domain is in your authorized scope.
  2. Write down the queried hostname, record type, resolver used, and observation time.
  3. Distinguish cached recursive results from data observed directly at authoritative nameservers.
  4. Compare the result with your approved asset inventory and confirm who owns the service.
  5. Investigate unexpected or stale entries with the responsible team before proposing changes.

Next, learn how to interpret the records themselves in DNS Records Explained, or return to Domains, Subdomains, DNS, and IP Addresses Explained.

KNOWLEDGE CHECK / DNS

Which server usually answers the end user's DNS query?

Consider the role of the record or component described in this guide, then reveal the explanation.

Show answer

Typically, a recursive resolver answers the client, using cached information when available or performing the necessary lookups when it is not.

CONTINUE LEARNING

Continue learning on CyberSurfaceMap

Use DNS data only within an authorized scope. Names and records are clues to validate, not proof that a service is vulnerable.

Featured on CodeHype