Demystifying Domain Name Servers (DNS)
Too Long; Didn't Read
Let's explore the origin of DNS. To illustrate, consider the case of mobile phones, where each user is assigned a unique number. Initially, we may memorize a few numbers to make calls to friends. However, as our contact list expands, we rely on a phone book to store all the numbers. This way, whenever we need to make a call, we consult the phone book and dial the desired number.
To access a website hosted on a machine, we use its IP address. However, humans find it difficult to remember IP addresses to access domain names, such as 142.250.180.14 for google.com. Therefore, we require a repository that functions like a phone book and maintains all mappings of domain names to IP addresses.