Visual RFC.
ALL RFCs / RFC 1982
Read the RFC ↗
RFC 1982 / SERIAL NUMBER ARITHMETIC

See a number space wrap around

01

A finite set of integer labels forms a circle: every serial has a successor and predecessor.

RFC 1982 · § 2EXAMPLE
4 / 4
See a number space wrap aroundThe same3-to0 arc produces serial0 greater than3 while ordinary integer0 is less than3. The picture explicitly separates these comparison rules.Serial labels form a circleSame labels · different ordering rules0123○ base 3 · ◎ candidate 0Serial comparison: candidate 0 > base 3Ordinary integers: 0 < 3RFC1982 · chapter 1 · state 4 · offline examples
04
Separate serial and integer order

The same labels support different comparison rules. There is no globally greatest serial; zero is not special in the arithmetic.

Source for this drawing: RFC 1982 · Read RFC section 2 ↗

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.

KEY POINT

An integer label can be small while its serial is newer.

  • Domain Name System (DNS) zones are named portions of DNS data. Their Start of Authority (SOA) record includes a serial identifying a version of that zone. A primary supplies zone data and secondary servers keep copies. RFC 1982 defines the arithmetic used to compare those serials; it updates RFC 1034 and RFC 1035 rather than replacing the DNS protocol (§§1,7,8).
  • SERIAL_BITS fixes the width. Integer labels run from zero through 2^SERIAL_BITS−1, but as serial numbers no label is an absolute minimum or maximum: every serial has a successor and predecessor. Zero is an ordinary serial value, not an uninitialized marker (§2).
  • The RFC’s smallest meaningful example uses two bits and labels 0,1,2,3. Adding one goes 0→1→2→3→0. In this space 0 is greater than 3 under serial comparison even though ordinary integer comparison gives 0<3 (§5.1). The clockwise direction is a drawing convention for increasing serials.
  • RFC 1982 states definitions, undefined operations and operational cautions; it predates RFC 2119 terminology. This guide does not invent uppercase MUST/SHOULD/MAY requirements. A chronological version history, date-format convention or trust decision is not encoded by an integer label alone (§§2–3,9).
DETAILS

Fictional offline arithmetic and DNS observations. Small spaces illustrate the rule; DNS SOA uses 32 bits. Not a DNS implementation, transfer protocol, operational reset recipe or authenticity check.

Read the RFC section ↗

All chapters in RFC 1982

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 ↗