Skip to content

Guides DNS Beginner3 min read

What Is DNS? How Domain Names Find Your Website

A practical explanation of the Domain Name System: resolvers, nameservers, record types, TTL and what really happens during DNS propagation.

By ZSOLNET Editorial Team Updated

Key takeaways

  • DNS translates human-readable names like example.com into the IP addresses computers use.
  • A lookup moves from a recursive resolver to the root, the TLD servers, and finally the domain's authoritative nameservers.
  • Each record has a TTL that controls how long resolvers may cache it — which is why changes are not instant.

The Domain Name System (DNS) is the directory of the internet. People remember names like example.com; networks route traffic to IP addresses like 203.0.113.10 (IPv4) or 2001:db8::10 (IPv6). DNS is the distributed system that connects the two — and almost every outage that starts with “the site won’t load” is worth checking here first.

What happens when you type a domain

When your browser needs the address for www.example.com, it asks a recursive resolver — usually run by your ISP, your company, or a public service. If the resolver doesn’t already have a cached answer, it works through the hierarchy:

  1. Root servers reply with the servers responsible for the top-level domain (.com).
  2. TLD servers for .com reply with the domain’s authoritative nameservers — the ones set at your registrar.
  3. Authoritative nameservers return the actual record, for example an A record pointing to an IPv4 address.

The resolver caches each answer for as long as its TTL allows and returns the result to your browser, which then connects to that IP.

The records you’ll use most

RecordPurposeExample value
AMaps a name to an IPv4 address203.0.113.10
AAAAMaps a name to an IPv6 address2001:db8::10
CNAMEMakes one name an alias of anothershop.example.com → stores.provider.net
MXRoutes email for the domain, with a priority10 mail.example.com
TXTFree-form text — used for SPF, DKIM, DMARC and domain verificationv=spf1 include:_spf.example.net ~all
NSDelegates a zone to its authoritative nameserversns1.example.net
CAALists which certificate authorities may issue certificates for the domain0 issue "letsencrypt.org"

A CNAME cannot coexist with other records at the same name, which is why the bare domain (example.com) normally uses A/AAAA records rather than a CNAME.

TTL and “propagation”

Every record carries a time to live (TTL) in seconds. A resolver that cached a record with a TTL of 3600 may keep serving that answer for up to an hour, even after you change it. That is what people call propagation: not a broadcast, but caches around the world expiring at different times.

Two practical habits avoid most surprises:

  • Lower the TTL before a planned change. Drop it to 300 a day ahead, make the change, then raise it again once everything is stable.
  • Check authoritative answers directly. Query your nameservers to confirm the new value is published, then check public resolvers to see who still has the old one cached.
# Ask the authoritative nameserver directly
dig @ns1.example.net example.com A +short

# Ask a public resolver what it currently has cached
dig @1.1.1.1 example.com A +noall +answer

Nameservers vs. records

Your registrar stores which nameservers are authoritative for your domain. Those nameservers hold the zone — the records themselves. Changing nameservers moves the whole zone to a different DNS provider; changing a record edits one entry inside the current zone. Mixing these up is one of the most common causes of “I updated DNS but nothing changed”: the edit was made at a provider that isn’t authoritative.

Where to go next

Once names resolve correctly, the next layers are securing the connection with TLS and authenticating your email with SPF, DKIM and DMARC. Use a DNS lookup tool to inspect any of the records above for a live domain.

Frequently asked questions

How long does DNS propagation take?

There is no single propagation event. Resolvers keep a cached answer until its TTL expires, so most changes are visible within the old record's TTL. Nameserver changes at the registry can take longer because the parent zone's NS records commonly have TTLs of up to 48 hours.

Is DNS the same as hosting?

No. DNS only tells clients where to connect. Hosting is the server that answers once they arrive. You can keep DNS with one provider and host your website or email elsewhere.

Share X LinkedIn Facebook

Log in to your account

Manage your domains, hosting and invoices in one place.

Secure connection straight to the ZSOLNET client area.

No account yet?