Can one name answer different questions?
02Open the right name’s drawers, select a kind of fact, and separate direct answers from helpful extras.
Find the named mail destination. The name alone is not the whole question.
Find the named mail destination
example.org.Same naming system; different kinds of facts.
What happens if you change this?
Make one change, then watch again. Restart restores the original example.
Delivering email is a separate application protocol.
Key idea: The name chooses where to look; the requested record type chooses which kind of information comes back.
Terms
- Resource record
- One named fact, with a kind such as website address or mail destination.
- QNAME
- The name being asked about.
- QTYPE
- The kind of information requested.
- QCLASS
- The separately selected family of records; these examples use IN, Internet.
- Record owner
- The name that a record’s fact is attached to.
- Additional section
- Helpful extra records, separate from the direct answer.
Rules & examples
The requested name, type and class select records.
These reference examples may differ from the selected experiment.
- A record has an owner, type, class, TTL, and type-specific data.
- A records map names to IPv4 addresses; MX identifies mail exchangers; NS identifies name servers.
- Question, Answer, Authority, and Additional are distinct message sections.
The Additional section can save a later lookup, but is supporting information rather than a replacement for the answer.
All records here use Internet class IN and chosen TTL 300 seconds. A stores an IPv4 address; MX stores a preference and mail-server name; NS stores a name-server name. The Answer and Additional sections have separate jobs. MX preference 10 is an example with one exchanger, not a universal priority. Sending mail and contacting a web service are separate actions not performed here. This ordinary matching example has no alias, wildcard, ANY or DNSSEC processing. Verified erratum4740 corrects additional-section processing to the response, not the query.
Sources
New to this? Start hereA quick picture + helpful background
A message needs an address.
Think of a packet as a small addressed envelope. Devices pass it onward; transport protocols decide what delivery promises an application gets.
Helpful first, if these ideas are unfamiliar
These pictures are analogies to help you learn. The linked RFC explains the actual rules.
Related RFCs and changes
“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.