What is a DNS?
DNS, or Domain Name System, is like the phonebook of the internet. Instead of remembering complicated numerical addresses (IP addresses) for every website, we use easier-to-recall names like “raspberytips.com.”
DNS is the system that translates these names into numbers so that computers can understand and connect us to the right website.
When you type a website name into your browser, your computer doesn’t inherently know where that website is located. That’s where DNS steps in.
Bonus tip: If the terminal still feels confusing, I made a simple cheat sheet with 74 commands explained in plain English. You can grab it here for free..
If you want a clearer path than jumping from tutorial to tutorial, my book gives you a step-by-step roadmap to really understand your Raspberry Pi.
Check the book here- Your computer asks a DNS server, “Where can I find ‘raspberrytips.com’?”.
- The DNS server replies with the numerical IP address.
- So the computer can open the correct destination.

To make browsing the internet speedy and efficient, multiple DNS servers exist all over the world. They work together, constantly updating and sharing information. This way, even if one server doesn’t know the address for a particular site, it can ask another server, ensuring you’re always directed to the right place online.
DNS servers are organized in a hierarchical structure resembling a tree. At the top of this tree is the “root” level, followed by top-level domains (like .com, .org), then second-level domains (like “raspberrytips” in “raspberrytips.com”), and so on.

Bonus tip: If the terminal still feels confusing, I made a simple cheat sheet with 74 commands explained in plain English. You can grab it here for free..
Each level delegates responsibility to the level below it, creating an efficient system.
Note: DNS isn’t exclusive to the internet; it also functions within local networks. Businesses and homes often use DNS on their private networks to map computer names to IP addresses, making it easier for devices to communicate with each other without needing to remember numerical addresses.
