CentrioHost Blog

Stories and News from IT Industry, Reviews & Tips | Technology Blog

What Is the DNS (And How Does It Work)?

  • Category : Domain
  • Posted on : Sep 29, 2017
  • Views : 1,351
  • By : Barton S.

When you want to start your own website, you need to find a domain name for you. There are different sites where you can search for domains by your brand name. Once the name match with your brand or your necessity, you can go for the domain registration work. However, after registering your domain name, when someone inputs the domain name in the browser, the domain name server redirect you to the website. If you want to know what is DNS and how it works, just read till the end.

What is DNS?

DNS is the short form of Domain Name Servers or Domain Name System. This is the system that controls your domain name website. When visitors input your domain name, they input it as “domainname.com.” But the domain name server fix in which company’s server it will reach. The system translates the name into the IP address. Though people can read domain names with words, but machines identify a website based on the IP address. Your hosting company and the Internet service provider interact with the central system with the DNS. When you type a domain name in the browser, the internet service provider view this as the DNS which is associated with the domain name. So, your domain needs to be as machine friendly name. The machine friendly name may like or something else. And the DNS system works with this name.

How Does the DNS Work?


The DNS work in different steps. Here I am going to explain each step with the necessary data.

Step 1: This is the beginning step of the whole procedure. In this step, when a visitor types the name of the domain, at first your computer or any other device that you are using looks its local DNS cache which stores your previous information that the device recently saved. If the device doesn’t get the answer, it goes in the second step.

Step 2: In this step, the device asks the recursive DNS servers through your ISP. Usually, the recursive servers have their own cache, and if the device gets the answer, the process ends here, and it returns to the user. Otherwise, it will query for the next step.

Step 3: In this step, your device or the machine query to the root nameservers. A nameserver is a machine that answers about different information include domain names and IP addresses. The nameserver is like a telephone switchboard, though it doesn’t know the answer, but it can navigate the way to someone else who knows the answer.

Step 4: The nameserver starts to read from right to left to query your search. The nameserver directs your query to TLD or top level domain nameservers. Different extensions like .com, .org, .net etc. has their own nameservers. Though these servers don’t have the answer but it can refer the user directly to the servers where the user will get the information.

Step 5: In this step, the query goes to the authoritative nameservers, and they are responsible for knowing all related information. They contain different type of data. When you are asking for a specific IP address, it asks to the authoritative nameserver for the address record.

Step 6: Now, the recursive server repossesses the record from the authoritative nameservers and then store the record to the local cache. So, whenever another person has the same query, it answers directly from the cache. Though this data remains for a particular time duration like the expire date. The recursive server asks for a new copy after the period to ensure the information is not going to out of date.

Step 7: This is the last step, and the recursive server returns the record to the device that the user using the query. That is the way the device stores the record in its cache and reads the IP address of the record. Then it sends the information to the browser and the browser connect to the webserver and receives the website.

Though this is a critical process, but for the whole process, it only takes milliseconds.

Subscribe Now

10,000 successful online businessmen like to have our content directly delivered to their inbox. Subscribe to our newsletter!

Archive Calendar


Over 20000 Satisfied Customers!

  • web hosting reviewer
    Valerie Quinn
    CTO, Acteon Group

    Centriohost staff were fantastic, I had a concern with a domain and they got back to me very quickly and they helped me to resolve the issue! ~ . . . Read more

  • Joomla hosting reviewer
    Collin Bryan
    Photographer, Allister Freeman

    I'm using centrio for my portfolio since 2006. The transition was seamless, the support was immediate, and everything works perfectly. ~ . . . Read more

  • dedicated server reviewer
    Harry Collett
    Actor, A&J Artists

    Very easy to understand & use even though I am not very technologically minded. No complications whatsoever & I wouldn't hesitate to recommend it to all. ~ . . . Read more

  • vps web hosting reviewer
    Porfirio Santos
    Technician, Diageo PLC

    Centrio support team have been amazingly responsive and helpful to any of my queries, thank you so much to the Centriohost have been amazingly responsive and helpful to any of my queries 👍👍👍 ~ . . . Read more

  • wordpress hosting plans reviewer
    Catherine Auer
    Doctor, SmartClinics

    Anytime I've had a problem I can't solve, I've found Centriohost to be diligent and persistent. They simply won't let an issue go until the client is happy. ~ . . . Read more

  • reseller hosting reviewer
    Effectivo Social
    Freelancer, Fiverr

    Recommend their shared hosting for all my SME web design clients. Their cloud or VME offerings are too great to deal with. Pricing is perfect and suitable for all users (͠≖ ͜ʖ͠≖) 👌 ~ . . . Read more