@kodekloud: How DNS Works Step by Step Many people assume DNS is a single massive database containing every website's IP address, but it is actually a global distributed hierarchy. When you type google.com, your computer first checks your browser's cache and your operating system's shared cache. If neither knows the address, your computer asks a recursive resolver provided by your internet provider. To locate an unknown domain, this resolver queries the Root servers at the top of the internet, which point it to the servers running the .com registry, which then redirect the request directly to Google's authoritative name server. Google's authoritative server holds the official records and hands back the exact IP address, allowing your browser to finally start its connection. Although querying multiple servers for a single website sounds slow, aggressive caching at every single layer ensures your resolver rarely needs to start from the top, resolving most web lookups in just a few milliseconds. If this breakdown helped, hit subscribe and follow for more system design deep dives! 🔔 #SystemDesign #Networking #SoftwareEngineering #TechExplained #WebDevelopment #CodingForBeginners
KodeKloud
Region: SG
Monday 19 October 2026 01:00:15 GMT
Music
Download
Comments
Darryl Friesen :
Nobody thinks DNS is one big server. If they do, they need to quit whatever IT job they have
2026-10-19 03:50:33
554
jnkzst :
You left out hosts file.
2026-10-19 02:46:03
77
Andrés F Martinez H :
All this in miliseconds btw
2026-10-19 03:49:41
190
maxvel :
how does it know the ip of ns1.google.com😭
2026-10-19 17:48:56
2
Justin Giffard :
so... to resolve google.com we needs to ask ns1.google.com which surely would also need to be resolved
2026-10-19 17:21:09
8
thatzane :
what about subdomains?
2026-10-19 20:47:31
0
Sydney :
I always thought it was one big database
2026-10-19 18:17:29
0
☁︎ :
why doesn’t Google just give it to us if we’re asking for it
2026-10-20 02:55:00
0
Kiznavierr :
then what if the IP is behind Cloudflare?
2026-10-20 01:57:35
1
r :
can you make a video explaining name servers
2026-10-19 14:02:55
0
ConcernedCitizen :
Default for most: Cache -> HOSTS file (OS) -> router/gateway -> ISP DNS Servers -> Root Nameserver -> Top Level Domain (TLD) Servers -> Authoritative name servers
2026-10-19 12:00:57
14
nonso :
How does it know Google’s name server’s up address? I.e. the address for ns1.google.com?
2026-10-19 03:12:20
5
Data Engineering and Travel :
What happened if a company changes its IP? For example, going from a host provider to another one?
2026-10-19 08:04:19
4
camedoza :
great explanation, im so comfortable with it. thanks for you videos!!!
2026-10-19 16:59:25
0
Seev :
UDP? I expected this to work on TCP instead?
2026-10-19 01:12:35
8
grace :
was this made using notebookLM?
2026-10-19 10:28:43
0
olHDKSHS :
If you have DNS stored on your computer then why can’t a virus just hijack that folder and point you to a hacked website
2026-10-19 15:44:24
0
mesfin :
where in OS?
2026-10-19 14:33:55
0
Zero-night :
Who searches for google inside google
2026-10-19 14:25:29
0
undasco :
The source of 99% of internet issues [Victory][Crying]
2026-10-19 10:39:19
3
Gio_9999 :
1.1.1.1
2026-10-19 05:57:00
2
Jcamacho :
What is the difference beetwen authoritative vs non authoritative?
2026-10-19 05:01:08
0
Hangul Filler :
So in short it just ask other servers?
2026-10-19 04:06:49
3
aporol :
I have my own DNS Server for my internal network
2026-10-19 03:41:13
3
49276d20476f64 :
When you configure your own resolver locally, or etc/hosts … you are telling OS what to use as P0 for that hostname
2026-10-19 04:10:58
1
To see more videos from user @kodekloud, please go to the Tikwm
homepage.