Blog / Basics

What is DNS, and how does it work?

9 Nov 2026

Computers find each other using numbers called IP addresses, but people remember names like monitopulse.com. The Domain Name System, or DNS, is the service that turns names into addresses. It is often compared to the contact list on your phone: you pick a name, and the phone dials the number.

What happens when you type a website name

  1. Your browser checks whether it already knows the address from a recent visit.
  2. If not, your computer asks its DNS resolver, usually run by your internet provider or a public service such as Cloudflare (1.1.1.1) or Google (8.8.8.8).
  3. If the resolver does not know either, it asks a root server, which points it to the servers for the ending of the name, such as .com.
  4. Those servers point to the domain’s authoritative name server, the one that holds the real answer.
  5. The answer comes back, your browser connects to the IP address, and the resolver remembers the answer for a while.

This usually takes a few milliseconds.

Common DNS record types

RecordPurpose
APoints a name to an IPv4 address
AAAAPoints a name to an IPv6 address
CNAMEMakes one name an alias of another
MXSays which servers receive email for the domain
TXTHolds text, such as email security rules and ownership checks
NSLists the domain’s authoritative name servers

Why changes take time

Every record has a TTL (time to live), the number of seconds resolvers may keep the answer before asking again. When you change a record, some users keep seeing the old answer until their cached copy expires. This delay is often called propagation.

Is it DNS or the whole connection?

If websites will not open but apps still work, DNS may be the problem. Test it:

How to fix common DNS problems

  1. Restart your router.
  2. On Windows, clear the local cache with ipconfig /flushdns.
  3. Switch to a different resolver, such as 1.1.1.1 or 8.8.8.8, in your network settings or router.
  4. Try another device or network to see whether the problem is only on yours.

Security note

Attackers sometimes use fake websites with look-alike names, or change a router’s DNS settings to redirect traffic. Keep your router firmware updated, change its default password, and check that its DNS servers are ones you chose.