Skip to content
Exercises · Q10

Q.What is DNS?

Uttar Pradesh UpmspTextbookSubjective· 2mImportance★★★★★est
43% · 15/35 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

The Domain Name System (DNS) is the internet's phonebook — it translates human-friendly domain names like google.com into machine-readable IP addresses that computers use to find each other.

Think of the internet as a vast city. Every building — every website, every server — has a precise street address: an IP address, a string of numbers like 192.0.2.1. Humans are terrible at remembering long strings of numbers. We remember names: "Google," "YouTube," "NCERT." The Domain Name System, or DNS, is the service that bridges this gap. It is a distributed, hierarchical database that maps domain names to their corresponding IP addresses.

When you type a website address into your browser, your computer doesn't know where to go. It first asks a DNS resolver — usually run by your internet service provider — "What is the IP address for example.com?" The resolver then begins a chain of queries. It asks a root server (the top of the hierarchy) where to find the .com nameserver. The root server points it to the .com nameserver, which in turn points it to the authoritative nameserver for example.com. That final server holds the actual IP address and sends it back. Your browser then uses that IP to connect to the website's server and load the page.

Note

This entire process happens in milliseconds. Your computer also caches DNS results locally, so if you visit the same site again, it often skips the full lookup and uses the saved answer.

DNS is not a single computer. It is a global, distributed system. This design is crucial: if one server fails, others take over, and no single point of failure can bring the entire internet down. The hierarchy — root, TLD (top-level domain like .com, .in, .org), and authoritative nameservers — ensures that the load is spread and that every domain can be found efficiently.

A lookup can happen two ways. In a recursive query, the resolver does all the work on the client's behalf and returns just the final answer. In an iterative query, each server in the chain returns only its best next pointer, and the resolver itself follows the chain step by step. Most home devices only ever see a recursive query — the multi-step chase happens between the resolver and the DNS servers, invisibly. …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.