DNS: Domain Name System
- The Domain Name System (DNS) is the classified and decentralized naming system used to identify computers reachable through the Internet or other Internet Protocol (IP) networks.
- Google’s DNS server is an example of a DNS server. Google’s principal DNS address is 8.8.8.8.
What is a Domain Name System (DNS) and how does it work?
- DNS is the Internet’s phone book. Domain names such as nytimes.com and pharmasciences.in, google.com allow people to access content on the internet.
- Internet Protocol (IP) addresses are used to join between web browsers. DNS translates domain names to IP addresses, allowing browsers to access resources on the Internet.
What is the difference DNS and IP?
- An IP address is an address assigned to any computer (including servers) to identify it on a given network.
- A DNS address is a Domain Name Service that is used to translate alphabetic references into a server’s IP address normally for hosting services.
What are the types of DNS?
There are four types of DNS:
- Recursive Resolvers,
- Root Nameservers,
- TLD Nameservers,
- Authoritative nameservers.
How Does DNS Work?
In a usual DNS query, the URL entered in by the user has to go through four servers for the IP address to be described. This 4 servers work with each other to get the precise IP address to the client, and they include:
- DNS recursor: The DNS client sends a query to the DNS recursor, which is also known as a DNS resolver. It then talks with other DNS servers in order to determine the correct IP address. After retrieving the request from the client, the resolver operates as if it were a client. It accomplishes so by sending requests to the three other DNS servers: root nameservers, top-level domain (TLD) nameservers, and authoritative nameservers.
- Root nameservers: The DNS root zone of the internet is served by the root nameserver. Its mission is to respond to requests for root zone records. It responds to requests with a list of authoritative nameservers for the requested TLD.
- TLD nameservers: The IP address of the second-level domain is kept within the TLD name by a TLD nameserver. The website’s IP address is then released, and the query is sent to the domain’s nameserver.
- Authoritative nameservers: An authoritative nameserver is the one who responds to your DNS query with the correct information. A master server, also known as the primary nameserver, and a slave server, sometimes known as the secondary nameserver, are the two types of authoritative nameservers. The zone records are kept on the master server, whereas the slave server is a carbon replica of the master server. It distributes DNS server load and serves as a backup in the event that the master server fails.
Read More: