Computer Network & Network Security System — Application Layer, NEC licence examination syllabus (Nepal Engineering Council).
You've never once typed a raw IP address into your browser, and DNS is the entire reason why.
Humans remember names ("google.com"). Computers route using numbers (IP addresses). DNS is purely the translation layer between the two.
RootThe top of the tree (represented by a trailing dot, usually invisible).
TLDTop-Level Domain — .com, .org, .np, etc.
DomainThe specific organization's name — google, wikipedia, etc.
SubdomainOptional further division — mail.google.com.
RecursiveYour local DNS resolver does ALL the work on your behalf, chasing down the answer across multiple servers, and returns just the final result to you.
IterativeEach server queried gives back either the final answer OR a referral to the next server to ask — the ASKER has to follow the trail themselves.
Resource records are the actual entries stored in DNS — A record (IPv4 address), AAAA record (IPv6 address), MX record (mail server), CNAME (alias to another name), and more.
A hierarchy with a single root looks like an obvious bottleneck. Every lookup starting there would be impossible — and the reason it works is the part the structure alone does not explain.
Caching at every level. Your resolver remembers answers, so the second lookup of a name never leaves your machine. It also caches the TLD servers for .com and .np, so subsequent lookups skip the root entirely. In practice the root is consulted rarely — mostly when a resolver starts cold.Long TTLFewer lookups, less load, faster responses — but a changed record takes that long to reach everyone.
Short TTLChanges propagate quickly, at the cost of far more query traffic.
Create a free account to tick topics off, take notes as you read, watch the video lessons and get a day-by-day study plan built around your exam date.
Loading…