DEV Community

Santhosh V
Santhosh V

Posted on

CA 27 - Write a blog on how DNS resolver is happening.

When you type google.com, your computer doesn’t understand that name. It needs an IP address.

First, your computer checks: “Do I already know this IP?” If yes, it uses it directly.

If no, it asks a DNS resolver for help.

Now the resolver goes and finds the IP:

It asks: “Who handles .com?”
Then: “Where is google.com?”
Then: “What is its IP?”

Finally, it gets the IP address.

It sends that IP back to your computer. Now your browser connects to the server and opens the website.

Also, it remembers (caches) the IP, so next time it’s faster.

Top comments (0)