DNS - Domain Name System
What is DNS?
- A distributed database implemented in a hierarchy of DNS servers
- An application-layer protocol that allows hosts to query the distributed database
How does DNS retrieve IP addresses from from hostname?
- The user machine runs the client-side of the DNS application
- The browser extracts the hostname from the URL and passes the hostname to the client-side of the DNS application
- The DNS client sends a query containing the hostname to a DNS server
- The DNS client eventually receives a reply, which includes the IP address for the hostname
- Once the browser receives the IP address from DNS, it initiates a TCP connection to the HTTP server process located at that IP address
Other services provided by DNS
- Host aliasing
- Mail server aliasing
- Load distribution