Explore

How DNS Resolves a Domain Name

by Froga

What actually happens between typing a web address and reaching a server: the chain of DNS servers involved, and how caching keeps it fast. For anyone curious about the plumbing behind every web visit.

You're previewing this room. Log in or create a free account to answer the questions and track your progress.
Study material

Every website has a numeric IP address, but people type names like 'example.com'. DNS is the system that turns a name into the matching IP address. A resolver, often run by an internet provider or a public DNS service, does this by asking a chain of servers: first a root server, which points toward a server for the domain's ending (like .com), which in turn points to the authoritative server holding the actual record for that specific domain. Once found, the answer is kept in a cache for a set amount of time, called the TTL, so the same lookup does not need to be repeated on every visit.

What is the main job of the Domain Name System (DNS)?

multiple choice

ATranslate domain names people type into the IP addresses computers use to connect
BEncrypt the connection between a browser and a website so it cannot be read in transit
CAssign a device its IP address automatically when it joins a network
DCompress a webpage's files so it loads faster over a slow connection
Think about what has to happen before your browser can even start talking to a website.
Log in to answer

Ready to test yourself?

Sign up free to answer, score points, and build your streak.