How does your website resolve? DNS is the answer!

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.

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?

  1. You type a domain name such as ‘www.bigrock.com’ into your browser (“client”).
  2. The client needs to find the IP address where ‘www.bigrock.com’  content is located.
  3. Your browser will send this query to the operating system of your computer
  4. 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.
  5. The resolving name server is not aware of the location of ‘bigrock.com’, but it does know where the root servers are located.
  6. 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.
  7. 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

, , , , ,

2 Responses to How does your website resolve? DNS is the answer!

  1. Divakar Mishra December 14, 2012 at 4:28 PM #

    Very helpful and detailed oriented explanation about DNS. Thanks for such a great post.

  2. kumararaman Hariharan September 18, 2013 at 8:30 AM #

    Very Helpful!!! Thanks for the picture!

Leave a Reply