An Introduction to the Domain Name System (DNS) And How it Works | Elegant Themes Blog

Did you know it is impossible to view website without DNS? [Unless you have an idedic memory to remember a long IP]

What Domain Name System?

The Domain Name System is a global archive where the internet domain names are placed and translated into Internet Protocol addresses. The DNS will map the domain people use to view the website to the computer’s IP to locate the website.

DNS-Server - Beehosting.proIn simple terms, DNS will translate hostnames to IP addresses and vice versa.

We can compare the concept of DNS with the Roll number of a student to the student’s actual name. So, what the Domain Name System does is locate the IP Address to display the website. Similarly, You can sometimes access the website with its IP Address if you don’t have the domain name.

Parts of a Domain

Different Types Of Domains And Best Practices For SEO - MozA domain name is made up in order of two or more segments. Each part or component is separated by a period. The format is the same as the host section of a URL. The first part is unique to the host, with each following piece charting the host in the domain name hierarchy.


Servers that are called for while loading a Webpage:

  • Authoritative Nameserver
  • Recursive (Caching) Server
  • TLD Nameserver
  • Root Nameserver

DNS Lookup:

What Is DNS Lookup And How DNS Lookup WorksFirst, the user types the domain name into the web browser, and the query travels to a DNS recursive resolver which then queries the root nameserver. The root nameserver responds to the resolver with the Top Level Domain server. This TLD will respond with the IP of the domain’s nameserver. Ultimately, the query is sent to the domain’s nameserver, which is returned to the resolver. The DNS responds to the web browser. After this, the browser makes an HTTP request to the IP Address, and the web page is rendered.

DNS Caching:

Caching-only Name Server - Network EncyclopediaDomain Name System caching reduces the time taken to respond to a query. Caching will store previous responses and deliver them faster the next time. However, the system will also cache the negative results.
Cached data will periodically time out as each record has a TTL field.

Did you know that because of caching, there will be DNS Propagation Delay.

Features of DNS:

  1. Global Distribution: Data is managed locally but can be accessed globally. You can do Domain Name System Lookup on any device, and Remote data is cachable.
  2. Loose Coherency: The DB is internally consistent, and each zone has a serial number. Changes dWhat is DNS? Domain Name System Explainedone to the master branch are replicated according to the zone administrator.
  3. Scalability: There is no limit to the size of the database and the number of queries.
  4. Reliability: The data can be a clone (you can send data to many slaves). These protocols can use User Datagram Protocol or Transmission Control Protocol.
  5. Dynamicity: The DB can be updated dynamically. The changes made in the master DB will trigger the clone or the replication.


If you want to learn basic web hosting and domain registration ideas, check this blog out:

Leave a Reply

Your email address will not be published. Required fields are marked *

2 replies on “What is DNS and Why you NEED to use it ? 7 amazing things you MUST know about DNS”

  • Pravesh Shah
    October 20, 2021 at 5:42 am

    Wow, this is good.

  • Anil Sapkotal
    October 20, 2021 at 5:43 am

    Keep it up bhai. Write more content to grow more.