@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
KodeKloud
Open In TikTok:
Region: SG
Monday 19 October 2026 01:00:15 GMT
152158
11288
98
399

Music

Download

Comments

darryl.friesen
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
jnkzst :
You left out hosts file.
2026-10-19 02:46:03
77
andrs.f.martinez
Andrés F Martinez H :
All this in miliseconds btw
2026-10-19 03:49:41
190
maxvel187
maxvel :
how does it know the ip of ns1.google.com😭
2026-10-19 17:48:56
2
jusgif
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
thatzane :
what about subdomains?
2026-10-19 20:47:31
0
flowers.photoss_
Sydney :
I always thought it was one big database
2026-10-19 18:17:29
0
fohunned
☁︎ :
why doesn’t Google just give it to us if we’re asking for it
2026-10-20 02:55:00
0
kiznavier2600k
Kiznavierr :
then what if the IP is behind Cloudflare?
2026-10-20 01:57:35
1
rotting.alone
r :
can you make a video explaining name servers
2026-10-19 14:02:55
0
adrifqdr323
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
nonsoc
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
travelanddataengineering
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.d
camedoza :
great explanation, im so comfortable with it. thanks for you videos!!!
2026-10-19 16:59:25
0
seev019
Seev :
UDP? I expected this to work on TCP instead?
2026-10-19 01:12:35
8
v404u
grace :
was this made using notebookLM?
2026-10-19 10:28:43
0
olhdkshs
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
mesf8n
mesfin :
where in OS?
2026-10-19 14:33:55
0
zero_night_kr
Zero-night :
Who searches for google inside google
2026-10-19 14:25:29
0
undasco
undasco :
The source of 99% of internet issues [Victory][Crying]
2026-10-19 10:39:19
3
camin_9999
Gio_9999 :
1.1.1.1
2026-10-19 05:57:00
2
jcamachoss
Jcamacho :
What is the difference beetwen authoritative vs non authoritative?
2026-10-19 05:01:08
0
jk_killer.tz
Hangul Filler :
So in short it just ask other servers?
2026-10-19 04:06:49
3
lpmittheo
aporol :
I have my own DNS Server for my internal network
2026-10-19 03:41:13
3
49276d20476f64
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.

Other Videos


About