Visual RFC.
ALL RFCs / RFC 1034
Read the RFC ↗
RFC 1034 / NAMES & RECORDS

Can one name answer different questions?

02

Open the right name’s drawers, select a kind of fact, and separate direct answers from helpful extras.

RFC 1034 · § 3.6EXAMPLE
1 / 4 · Say what you want to learn

Find the named mail destination. The name alone is not the whole question.

Find the named mail destination

Name to ask aboutexample.org.
Wanted: Mail destinationType MX · Internet class IN

Same naming system; different kinds of facts.

What happens if you change this?

Make one change, then watch again. Restart restores the original example.

4 / 4
04
Use the discovered service.

Delivering email is a separate application protocol.

Can one name answer different questions?A typed query selects an MX row and then reveals a useful address record.Question: example.org.QTYPE = MX · QCLASS = INOWNERTYPEDATAexample.org.MX10 mail.example.org.mail.example.org.A192.0.2.20example.org.NSns.example.org.separate mail deliveryUse the discovered mail service

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.

Look up a term in the glossary ↗

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
Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
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.

All chapters in RFC 1034

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗