You type a name into a browser, and the page opens. Between those two events sits a conversation lasting milliseconds, one you almost never notice until it fails.
That conversation is DNS. Understanding it explains a lot of oddities routinely misdiagnosed as "slow internet".
The idea in one sentence
DNS translates names humans can remember into addresses machines use.
Devices on the internet reach each other using IP addresses, strings of numbers like
142.250.4.100. People can't remember those, so we use names. DNS is the layer
bridging the two.
The usual analogy is a phone book, and it's accurate enough as a starting picture. But one difference matters: a phone book is printed once, while DNS is answered again and again by machines spread across the world. That's why a site can move servers without a single visitor having to change anything.
The journey of one request
When you open a name you haven't visited before, the sequence goes like this:
The browser checks its own cache
If the name was opened recently, the answer is still stored and the journey ends here. This is why a second visit to the same site feels quicker to start.
The operating system checks its cache
Windows, macOS, Android, and iOS each store recent DNS results. Some systems also read a hosts file, whose contents override any answer from outside.
The request goes to a resolver
A resolver is the server tasked with finding the answer. By default, yours is supplied by your internet provider through automatic settings on the router.
The resolver works down from the root
If the resolver hasn't cached the answer, it asks in stages: the root servers, then the
servers handling suffixes like .com or .id, then the servers that
actually hold the records for that name.
The answer comes back and is cached
The IP address reaches your device, and every point along the way keeps a copy for a set period.
The whole sequence usually finishes in 20 to 120 milliseconds. For a name already cached, it's close to zero.
For names ending in .id, including .co.id and .go.id, the suffix
step is handled by servers run by PANDI, Indonesia's internet domain name registry. So when you open a
government agency's site from home, your ISP's resolver asks the root servers, then the .id
servers, and only then the agency's own server.
Trying it yourself with nslookup
You can watch this conversation without any extra app. Open Command Prompt on Windows or Terminal on macOS and type:
nslookup giakreasi.comto ask the resolver your device is currently using, usually the ISP's resolver via the router.nslookup giakreasi.com 1.1.1.1to ask Cloudflare's resolver the same name directly.
The Server line at the top of the output shows who answered. If both commands give the same address, your DNS is healthy for that name. If the first fails or takes ages while the second answers at once, your default resolver is the problem. If the answers differ for a site that won't open, the name is probably being filtered, covered in the next section.
DNS and site blocking in Indonesia
In Indonesia, DNS is also one of the tools used for blocking. Komdigi maintains the list of blocked sites through TrustPositif, and on many networks the ISP's resolver answers names on that list with the address of a warning page rather than the real site. That's why the same site can show a warning page on home Wi-Fi yet look different on another network. On the TrustPositif site you can check whether a domain is listed, and there's a normalisation request route if a legitimate site has been caught.
Some ISPs also redirect ordinary DNS requests to their own resolvers, so changing the DNS numbers in your settings doesn't necessarily have any effect. The full explanation of how blocking works is in how site blocking works, and what's typical of Indonesian networks in public DNS and privacy.
| Situation | Likely role of DNS |
|---|---|
| A warning page from the ISP or government appears instead of the site | The name is answered with the block page's address |
| The site opens on mobile data but not on office or school Wi-Fi | That network runs its own DNS filtering |
| Every site fails, but WhatsApp still works | The resolver on the router or ONT isn't answering; some apps have their own DNS path |
| Your business site just moved hosting, customers still see the old version | The old answer is still cached until the TTL runs out |
Why site changes don't appear immediately
That caching explains one of the most confusing complaints: a site has been moved to a new server, but some people still see the old page.
Every DNS record carries a number called TTL, how long the answer may be stored before it must be asked again. Common values run from five minutes to twenty-four hours.
Until the TTL expires, nothing can force the world to see the new address. All you can do is clear the cache on your own side:
- Windows: run
ipconfig /flushdnsin Command Prompt. - macOS:
sudo dscacheutil -flushcachein Terminal. - Android and iOS: turn on aeroplane mode for a few seconds, or restart the device.
- Browser: try a private window, which bypasses some caches.
Lower the TTL before moving servers, not after. If you plan to move a site, change the TTL to five minutes a few days ahead. Once every resolver is using that short value, the switch appears almost instantly. Lowering TTL after the move helps nothing.
Record types you'll come across
| Type | What it holds |
|---|---|
| A | The IPv4 address of a name |
| AAAA | The IPv6 address of a name |
| CNAME | A pointer saying one name follows another |
| MX | The servers that receive email for that domain |
| TXT | Free-form notes, often used to verify ownership |
| NS | Which servers are authoritative for that domain |
The MX record is worth remembering for one practical reason: email and the website can live with entirely different providers. Moving a site doesn't automatically move the email, and vice versa.
Symptoms rooted in DNS
Several complaints usually mistaken for a slow connection:
| Symptom | Likely cause |
|---|---|
| Pages slow to open, downloads fast | The resolver is slow to answer |
| Some sites won't open, the rest are fine | Bad DNS answers for particular names |
| Connected but "no internet" | The resolver isn't answering at all |
| Apps work, the browser doesn't | Some apps use their own DNS |
Confirming it is simple: open a site using its IP address directly. If that works while the name doesn't, the problem is DNS rather than your connection. The order of fixes is in the guide to a DNS server not responding.
When changing it makes sense
Your provider's default resolver is usually adequate. Changing it makes sense in three situations:
- The default resolver frequently fails to answer, which shows up as sites randomly failing to open.
- You want requests encrypted, so the names you look up aren't readable in transit.
- You want filtering at network level, for instance blocking certain categories across every device in the house at once.
The most commonly used public resolvers, with their addresses:
| Resolver | IPv4 addresses | Name for Android Private DNS |
|---|---|---|
| Google Public DNS | 8.8.8.8 and 8.8.4.4 | dns.google |
| Cloudflare | 1.1.1.1 and 1.0.0.1 | one.one.one.one |
| Cloudflare for Families, filtering malware and adult content | 1.1.1.3 and 1.0.0.3 | family.cloudflare-dns.com |
On Android 9 and later, the Private DNS feature sends requests encrypted and applies on both Wi-Fi and mobile data. On stock Android it's under Settings → Network & internet → Advanced → Private DNS; on Samsung and other brands the menu can differ, so type "Private DNS" into the Settings search. For a home with children, the Cloudflare for Families addresses set on the router filter every device at once, as long as your ISP doesn't redirect DNS requests. You can check the result at one.one.one.one/help.
The steps for phones, laptops, and routers are in the guide to changing DNS. The privacy side, including what your provider still sees even after you switch, is covered in the guide to public DNS and privacy.
What doesn't change afterwards
One thing worth setting straight, because expectations are often too high.
DNS only works at the very beginning, while a name is turned into an address. After that it plays no part at all. Changing DNS adds no download speed, doesn't fix stuttering video, and doesn't lower your ping while gaming.
What changes is the delay before a page starts loading, and only for names not already cached. If your complaint is speed, the cause lies elsewhere, and the order of checks is in the guide to fixing slow Wi-Fi.
Frequently asked questions
What does DNS do, simply put?
DNS translates site names that humans can remember into the IP addresses machines use. Without it you'd have to type strings of numbers to open every site, and sites couldn't move servers without changing the address everybody types.
Does changing DNS make the internet faster?
It adds no download speed at all. What shrinks is the delay before a page starts loading, and that's only noticeable if your provider's default DNS is genuinely slow to answer. The difference is usually tens of milliseconds per new name.
Why does a site that just moved servers still show the old page?
Because DNS answers are cached in several places at once, the browser, the operating system, the router, and your provider's resolver. Each keeps it for the TTL set by the domain owner, and the new page appears once that cache expires.
Can my ISP see which sites I visit through DNS?
If you use their default DNS and the requests aren't encrypted, yes, the list of site names you request is visible to them. The page contents stay protected by HTTPS, but the site name itself does not.
Why do I get a warning page instead of the site I wanted?
In Indonesia, many ISPs enforce blocking of sites on Komdigi's TrustPositif list through DNS: listed names are answered with the address of a warning page. You can check a domain's status on the TrustPositif site.