dns-cdn-basicsYou type google.com. But how does your browser actually find Google?
Every time you visit a website, an invisible chain of lookups and deliveries happens in milliseconds. DNS finds the address. CDN delivers the content. Let’s learn how.
Core Architecture Foundations
Review these four lightweight concept cards before jumping onto the visual practice canvas.
1. What is DNS? — The Phone Book of the Internet
You know your friend’s name (“Rahul”), but your phone needs his actual number (9876543210) to call him. You open your Contacts app, search “Rahul”, and it gives you the number. DNS works exactly the same way. You type google.com (the name), but the internet needs the actual server address 142.250.182.14 (the number) to find Google. DNS is the phone book that translates human-readable names into machine-readable addresses.
2. How DNS Actually Finds a Website (Step by Step)
When you type youtube.com, your browser doesn’t magically know where YouTube’s server is. It goes through a chain of lookups, each step getting closer to the answer. Press the button below to watch this chain in real time!
3. What is a CDN? — Local Delivery Instead of Long-Distance Shipping
Once DNS finds the server address, your browser needs to actually download the website’s files (images, videos, CSS). If those files are stored on a server in America and you’re in India, every single file has to travel 15,000 km — making everything slow. A CDN (Content Delivery Network) solves this by copying your files to servers around the world, so users always download from the nearest one.
4. See the Difference: With CDN vs Without CDN
Theory is great, but let’s actually SEE how much faster a CDN makes things. Press the button below to race two loading scenarios side-by-side: one fetching from the origin server in America, and one fetching from a CDN edge server in your city.
Build Your First DNS + CDN Architecture
Map out the request flow for a user visiting a website by connecting the correct components in the interactive canvas.
Task: DNS + CDN Request Flow
Drag components to arrange them freely, and click two nodes to connect them.
System Validation Criteria
Every time you build a system on this platform, our automated rubric will check it for correctness. Here is what we are looking for in your design:
Ready for the Next Challenge?
You've mastered how DNS works and why CDNs are essential.