Level 1: Bronze
A memorized definition. Not wrong, but it stops there.
It is the system that turns domain names into IP addresses.
2 stars Asked often.
In one or two sentences
DNS is a distributed naming system that turns domain names into IP addresses. A resolver follows the root, TLD and authoritative name servers to find the answer.
Say it out loud, or type it below. What you type never leaves this device.
A memorized definition. Not wrong, but it stops there.
It is the system that turns domain names into IP addresses.
Correct, but too broad or missing context.
The browser asks a resolver. If it is not cached, the resolver asks a root server, then a TLD server, then the domain's name server to find the IP. The result is cached.
Reaches principle, use and trade-off, with words that invite the next question.
The namespace is a hierarchy and each zone is delegated to its own name servers, so no single place holds everything. Answers carry a TTL and are cached for that long. A long TTL means fewer queries but slow propagation when you change a record. A and AAAA point to addresses, CNAME is an alias and MX names the mail server. Thanks to caching most queries never reach the root, and forged answers such as cache poisoning are countered by signatures like DNSSEC.
These are likely next questions from an interviewer. Think of your answer first, then press the button.
1 / 3
How do recursive and iterative queries differ?
In a recursive query the resolver does all the work and returns the final answer. In an iterative query the server only points to who to ask next and the asker follows along.
2 / 3
You changed a DNS record, so why is it slow to take effect?
Earlier answers stay cached in resolvers and devices until their TTL runs out.
3 / 3
What is the difference between CNAME and A records?
An A record maps a name straight to an IPv4 address. A CNAME maps a name to another name as an alias.