You have a Domain Name and you direct people to your website by providing them with your web address. But have you ever wondered what goes on at the back-end? How exactly are people directed to your website?
That’s where Domain Name System or DNS as it is commonly known as comes into the picture.
Domain Name System (DNS) is a hierarchical distributed naming system for computers, services, or any resource connected to the Internet or a private network.
A Domain Name Service resolves queries for these names into IP addresses for the purpose of locating computer services and devices worldwide.
As we know, every domain name has an IP address associated with it and DNS helps to resolve the domain name to the correct IP address.
So how does DNS work?
- You type a domain name such as ‘www.bigrock.com’ into your browser (“client”).
- The client needs to find the IP address where ‘www.bigrock.com’ content is located.
- Your browser will send this query to the operating system of your computer
- Each operating system is configured to query certain DNS servers. Typically, your ISP or network administrator configures such DNS servers which are called Resolving Name Servers.
- The resolving name server is not aware of the location of ‘bigrock.com’, but it does know where the root servers are located.
- Next, the resolving name server finds the location of the top-level domain name server( in this case COM severs) and sends a query for ‘bigrock.com’. Each domain on the Internet has an Authoritative name server.
- Finally, the authoritative name server will give you the exact IP address of ‘bigrock.com’. This information will come back to the resolving name server, which caches the information and sends backs the information to your browser. And at the end, you would find yourself on BigRock’s homepage. All these complex task take place in seconds.
Too much information to take in? The infographic below should definitely be able to explain the DNS resolution process better 🙂
Got any additional queries or comments on DNS? Share your inputs with us below 🙂
Image Credit – animhut