How DNS Resolver Works
Introduction
When we type a website name in the browser, the system does not understand names. It understands only IP addresses. So there is a process called DNS resolving which helps to find the correct IP address for a website.
What is DNS Resolver
DNS resolver is a system that helps to convert a domain name into an IP address. It acts like a helper between the user and the internet.
Step by Step Process
First, the user enters a website name in the browser.
The browser checks its memory to see if it already knows the IP address. If it is not found, the request goes to the operating system.
Then the operating system also checks its cache. If still not found, the request is sent to the DNS resolver.
The DNS resolver now starts searching for the IP address. It first contacts the root server. The root server does not give the exact IP address but tells where to find more information.
Next, the resolver contacts the top level domain server. This server gives details about the domain, like where the correct server is located.
Then the resolver contacts the authoritative name server. This server has the exact IP address of the website.
Now the DNS resolver gets the IP address and sends it back to the browser.
Finally, the browser uses this IP address to send a request to the server and load the website.
Why DNS Resolver is Important
Without DNS resolver, we would have to remember IP addresses of all websites. It makes internet usage easy and fast.
Top comments (0)