Exploring DNS
The DNS maps human-friendly domain names to machine-readable IP addresses. It provides the translation service between domain names and IP addresses. When a user enters a domain name in the browser, the browser needs to find the corresponding IP address to complete the request. It does this by querying the DNS infrastructure. The DNS works transparently in the background. Users are unaware of the domain name to IP mapping performed by DNS. When the browser obtains the IP address from DNS, it forwards the user’s request to the destination web server at that IP address.
In short, DNS performs the crucial function of translating domain names that users type into their browsers to IP addresses that computers use to locate websites and resources. This translation is performed seamlessly, allowing users to access websites using easy-to-remember names. This is shown in Figure 4.1.
Figure 4.1: Basic architecture of DNS
The DNS is comprised...