DEV Community

Cover image for All about DNS (domain name system)
arshad. dev
arshad. dev

Posted on

All about DNS (domain name system)

DNS resolution
imagine you are chilling and you opened browser and entered www.youtube.com
in your browser , the system does not understand the name directly
it translates it into ip adress of the server hoisting the website

this allows browsewr connect to correct server

How does it actually works ?

WORKING : term(DNS) brokes into multiple steps , so user can access simply entering website name into their browser

*what happens internally *
when user enters www.youtube.com in their browser:

root server
root server gives information who saves www.youtube.com
next it refers to (TLD) information

TLD

what is (TLD) Top level domain
the TLD server directs the resolver to the domains Authoritative server.

Authoritative server response

the Authoritative server returns the actual IP address.

Final response

the resolver sends the IP back to the user , and the browser connects to the server

and all these happens in under milli seconds

Top comments (0)