Domain Names were created so that users could easily access and navigate between websites without having to remember all the IP addresses for them. Whenever you access a website by inputting a domain name into the address bar of a browser, the corrosponding IP for that address will be retrieved. The following process outlines how this happens.
When you type a domain name into your browser address bar, such as google.com, a query will be sent to retrieve the IP address.
Use the featured image above to help you understand!
- The first server that your query encounters is the RR (Recursive Resolver), which is hosted by your ISP (Internet Service Provider).
- The RR will send the query to the Root DNS server, which holds all the information about Top Level Domain (TLD) servers.
- The query will then find its way to the correct TLD server, in this case for google.com it will be the .com TLD server. The server will then send you the IP of the hosting server in which google.com is located.
- Next your query will be sent to the DNS server hosting the domain and the IP will be returned to the RR.
- Finally the RR returns the IP address to the browser on your computer and then your browser can send a request to the IP to retrieve the websites content.
The query in this example would be “What is the IP address for the website domain google.com”.
This Website was very useful in helping me understand the process.