Updated on April 5, 2024

How does DNS work?

 

To know more about how DNS functions, check out the steps that the system follows from the user typing in the website in the browser’s address bar, to returning the web page to the user’s screen:

 

  1. The user enters the web site into the browser (e.g. www.cldy.com).

  2. This will be taken by the browser as a request to access the said website, and will have this request forwarded to a DNS resolver.

  3. The DNS resolver then forwards this to a DNS root name server. In return, this will provide the TLD name servers for .com domains (or depending on the domain suffix: .sg / .net / .org).

  4. DNS resolver forwards another request to the TLD name servers. This time, to return with the name servers associated with the cldy.com domain.

  5. The DNS resolver chooses a single name server, which will receive the request.

  6. The name server will now get the IP address value to return to the DNS resolver.

  7. The DNS resolver returns the IP address back to the browser.

    (This IP address is also stored by the DNS resolver for some time, to make the process of accessing the website in the future much faster.)

  8. The browser sends the request to access cldy.com to the web server which houses the website’s IP address. The web server will then determine the correct web page that should be displayed (e.g. homepage of cldy.com).

  9. The web server will now return the web page for www.cldy.com to the web browser, which will be displayed for the user.

 

 

 

 

Still can't find what you're looking for?