Open In App

How Does DNS Resolve Domain Names To IP Addresses On Internet?

Last Updated : 29 Apr, 2024
Improve
Improve
Like Article
Like
Save
Share
Report

Answer: The DNS (Domain Name Server) resolve domain names to IP addresses on the internet using the ISP cache, DNS root server, top-level domain server, second-level domain server and DNS records and recursive DNS resolver.

Steps For DNS Resolve Domain Names to IP Addresses

Below are the steps in which DNS resolve domain names to IP addresses.

  • First when the client enters the domain name in the browser, a query is sent to ISP which provides the recursive DNS resolver.
  • If the DNS resolver holds the address of specified domain name, it returns the IP address.
  • If the DNS resolver does not contain the domain name, then query goes to root DNS server.
  • The root server then sends the query to second level servers.
  • The second level server sends the query to authoritative server.
  • The authoritative server then gets the DNS record that resolves the domain name to IP address.
  • All the information and resolution from the above servers are stored in recursive DNS servers and these DNS servers returns the IP address of the specified domain name.

Conclusion

In conclusion, DNS is an important part of the internet, it providing the translation of domain names into IP addresses. This process allows users to access websites, send emails, and work on different online activities using human-readable domain names rather than numerical IP addresses.


Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads