
DNS
Title: How DNS Resolver Works in Simple Steps Whenever we open a website like google.com, we don’t actually know its IP address. But computers need IP addresses to communicate. So there is a process that happens behind the scenes to convert the domain name into an IP address. This process is called DNS resolution. First, what is DNS DNS stands for Domain Name System. It works like a phonebook of the internet. Instead of remembering numbers like 142.250.190.78, we just use names like google.com. Now I will explain step by step what happens when I type a website in the browser Step 1: Request from browser When I type google.com in the browser, the browser first checks if it already knows the IP address. It looks in browser cache. If found, it uses that directly. If not found, it goes to the next step. Step 2: OS cache check The request goes to the operating system. It also checks its own cache. If the IP is already stored, it returns it. If not, then it goes to DNS resolver. Step 3: DNS
Continue reading on Dev.to Tutorial
Opens in a new tab




