Imagine that you want to visit a friend's house, but you don't know their address. You only know their name and phone number. How would you find their house?
You could call them and ask for their address, right? But that would be inconvenient and time-consuming, especially if you have many friends and you want to visit them often. Wouldn't it be easier if you had a book that lists all your friends' names and addresses, so that you can just look them up whenever you want?
That's what DNS does for the Internet. It is a system that keeps a record of all the domain names (like www.google.com) and their corresponding IP addresses (like 216.58.216.164), so that you can find any website or service on the Internet by just typing its name in your web browser or other application.
But DNS is not just one book, it is a network of many books, or servers, that are distributed all over the world. Each server has a copy of some or all of the DNS records, and they can communicate with each oth
