While we humans use Domain Names to locate a website, computers require IP Addresses to know where to take us on the internet. This is where the use of the Domain Name System (DNS) enters. The DNS is a database that works like a directory for computers: it translates a Domain Name into its corresponding computer-readable IP Address. Without the DNS, we would have to memorise strings of numbers for every website we want to visit.
Name Servers are a vital part of the whole DNS process. They are these specialised servers on the internet that handle queries from your device about the location of a Domain Name and make it function.
Hence, whenever you type a Domain Name into your browser, Name Servers provide the IP address of the Domain to your browser.
Refer to the steps below to know how Name Servers work when you visit a website. In this case, we will use mydomain.com as an example.
- Your browser uses DNS to look up the Name Servers for mydomain.com.
- The Name Servers “ns1.sampleserver.com” and “ns2.sampleserver.com” are retrieved.
- These Name Servers then look up the IP address for mydomain.com.
- Your browser gets the response: 22.214.171.124 — which is mydomain.com’s corresponding IP Address.
- Your browser sends a request to 126.96.36.199, including the specific page you are trying to access.
- The web server hosting your website sends and displays the requested page to your browser.