2018/07/17
Domain Name System
The computer must know the destination IP address to send the request package. User should enter the IP address in the browser's URL bar to visit the websites.
The computer must know the destination IP address to send the request package. User should enter the IP address in the browser's URL bar to visit the websites.
However, it is hard for people to remember the IP address of the website. Hostname is an easy way to present website address that people can remember more easily.
Therefore, DNS provides a service that converts a hostname to an IP address.
- If user enter a hostname into the URL bar.
- First, the computer sends a DNS request to get the real address of the destination.
- Second, the computer gets the IP address from the DNS response.
- Third, the computer send the request to the web server to get the website.
- Finally, the user gets the website from the response of the web server.
DNS Server
There are three classes of DNS servers. Each level of server stores IP addresses of subservers.
There are three classes of DNS servers. Each level of server stores IP addresses of subservers.
- Root DNS Server
- Top-level DNS Server
- Authoritative DNS Server
How to obtain the IP address of the Google Web Server through DNS?
Moreover, there are other ways to get IP address.
Copyright © 2018 William Hsu All rights reserved.