DNS Lookups: How do they work?
A fair few people know what DNS lookups are, Even without having to work in the IT industry. It basically converts the pretty, familiar and easy to understand (for us) “www.domain.com” into an IP Address, which computers can understand and direct traffic to.
The Image below is from Verisign, and to make the understanding a bit easier, it ignores the process of caching.
Image source: Verisign Domain Name Industry Brief, June 2007 (PDF), last page.
First your computer queries the name server (DNS server) it is set up to use. This is the recursive name server shown above.
The name server doesn’t know the IP address for www.abc.com, so it will start the following chain of queries before it can report back the IP address to your computer (the numbers below correspond to the numbers in the image).
- Query the Internet root servers to get the name servers for the .com TLD.
- Query the .com TLD name servers to get the authoritative name servers for abc.com.
- Query the authoritative name servers for abc.com to finally get the IP address for the host www.abc.com, then return that IP address to your computer.
- Done! Now that your computer has the IP address for www.abc.com, it can access that host.
Note: This article was created for our customers' convenience only, excluding any guarantees or warranties. Installing, configuring, and troubleshooting third-party applications is outside the scope of AUSWEB support. The products or features mentioned in this article may not be related or applicable to your service(s).
AUSWEB is Australia's leading web-hosting and VMware Cloud solutions provider. Talk with our friendly sales staff today to see how we can help you.