Somewhere on your network, a printer is announcing itself. It has no directory server to announce itself to, no session to open, no registration desk to queue at. It publishes a PTR record at a name everyone agreed on — _ipp._tcp.example.com — and every machine that knows the convention can ask, and be told.
That is DNS-Based Service Discovery, written down in February 2013 as RFC 6763 by Stuart Cheshire and Marc Krochmal. The entire mechanism is a naming habit: put a PTR, SRV or TXT record at the right name, and ordinary DNS becomes a service directory. No new protocol, no new port, no central list. The delegation tree does the work.
How DNS-SD Works: PTR, SRV and TXT at Agreed Names
The whole system runs on record types that predate the RFC by years:
- PTR at
_ipp._tcp.<domain>returns the list of named instances. This is browsing. - SRV at
<Instance>._ipp._tcp.<domain>returns the target host and port. This is resolution. - TXT at the same name returns key/value attributes: paper sizes, colour capability, a path, a model number.
- A and AAAA on the SRV target turn the hostname into an address, using the same lookup a browser already performs.
The instance name is the human half. Alice's Printer._ipp._tcp.example.com is UTF-8, up to 63 octets per label, with dots inside an instance name escaped so the label structure survives the trip. The service name is the machine half: one to fifteen characters, an underscore, then _tcp or _udp. _ipp._tcp is nine characters and fits with room to spare; _airplay._tcp is thirteen.
A client that does not yet know what to look for asks a different question. A PTR query at _services._dns-sd._udp.<domain> returns the service types present in the zone, which is how a browser can show you categories before it shows you devices. Subtypes narrow the same trick without inventing a new type: _printer._sub._http._tcp.<domain> advertises a slice of a broader service.
Not one of these queries requires a DNS server that has heard of DNS-SD. The records are ordinary records. The intelligence lives entirely in the spelling.
Why RFC 6763 Is Informational: Running Code Got There First
RFC 6763 carries the status Informational, which sounds like a demotion and is really the whole point. There was no wire format to standardise. The records already existed, the queries already existed, the servers already existed. What did not exist was an agreement about where to put things.
The software arrived long before the document. Apple shipped the implementation in Mac OS X 10.2 in 2002 under the name Rendezvous, renamed it Bonjour in 2005, and the Unix world answered with Avahi. The RFC landed in 2013 — eleven years after the code — to write down what was already running in millions of machines. Lu Heng's Note on running-code primacy puts documentation at the end of the sequence, after implementation and voluntary adoption. RFC 6763 is that sequence in miniature.
Then Windows 10 shipped a native multicast DNS resolver in 2015, and the convention stopped being a dialect spoken by Apple and Linux and became ambient. Nobody voted. Nobody ratified. Devices simply started answering.
Delegation Is the Directory: Who Actually Holds the Power
The browse list is not stored anywhere. It is generated on demand from whichever zone answers the query, which means the boundary of the directory is the boundary of the delegation.
Whoever holds the zone cut decides what appears in the list. On a corporate network that is the network team, and the list is a policy document whether or not anyone wrote it down. At home it is nobody: multicast DNS (RFC 6762) puts the question on 224.0.0.251 and ff02::fb, UDP port 5353, and every device on the link answers for itself.
That link-local scope is the sharpest operational fact in the design. Multicast DNS does not cross a router unless you deploy a reflector, so the directory stops at the subnet edge — a detail that has surprised every enterprise that ever tried to find a printer from the wrong VLAN.
The only centralised piece in the system is a registry of names. The IANA Service Name and Transport Protocol Port Number Registry, governed by the policies in RFC 6335, hands out service type names under First Come First Served, Expert Review, IETF Review and Standards Action. It does not know your printer exists. It has never seen your zone. It registers the word; the network supplies the meaning.
The directory is not a place. It is a permission.
Where DNS-SD Breaks: Stale PTRs, Chatty TXT and the Honesty Problem
Three failure modes are the price of the bargain.
Stale records. RFC 6763 recommends a 75-minute TTL for browse PTR records in unicast DNS — long enough that a laptop does not re-ask on every wake, short enough that a departed printer eventually stops appearing. Multicast DNS uses shorter lifetimes and a goodbye packet, and a device that dies without sending one lingers in the list until the cache expires. Every office has a ghost printer. This is why.
Chatty TXT. The TXT record is a key/value channel with almost no rules: keys of up to nine characters, values up to 255 bytes, printable ASCII, no schema and no validation. It carries paper sizes and model numbers, and it has carried considerably stranger things. Anything that fits in a string eventually gets put in a string.
Trust. Without DNSSEC, a PTR answer is only as trustworthy as the resolver path that delivered it. On a multicast link it is worse: anyone on the wire can answer, and the fastest answer wins. A rogue responder does not need to break DNS-SD. It only needs to be early.
Network-Resource Evidence: A PTR Is a Rumour, a Handshake Is a Fact
The records are evidence, but they are evidence of a claim, not of a fact. A PTR record says an operator once asserted that a service existed at this name. An SRV record says where it was supposed to be. Neither of them says the port is open.
A PTR record is a rumour. A completed TCP handshake is a fact.
Which is why the browse list is best read the way an engineer reads a routing table: as a statement of intent, refreshed by a protocol, and true only until the next update. Lu Heng makes the same point about registries in his Note on uniqueness coordination: “A registry record describes reality. It does not create it.” DNS-SD adds the corollary that hurts — a record can outlive the reality it described, and the cache will keep serving it anyway.
The browse list is also an inventory of what to attack. It tells a stranger which printers exist, which protocol they speak, which model they are, and often which room they sit in. That is a fair trade for a directory that costs nothing to run — but it is a trade, and it is worth making knowingly.
The Habit That Beat the Protocol
What makes RFC 6763 worth reading more than a decade later is how little it asks for. A minimum specification: names, record types, label limits. A local decision: each zone owner publishes what it wants, and no committee approves the list. Voluntary adoption: nothing compels a device to implement DNS-SD, and the devices that skipped it are the ones you have to hunt for by IP address.
Lu Heng's Note on minimum specification and voluntary adoption describes exactly this shape — a common layer that is not an institution, with no continuing body to petition and no penalty for non-adoption. DNS-SD is that shape with a printer plugged into it.
More than a decade on, the habit holds. The printer still announces itself, the laptop still asks, and the answer still arrives from a zone nobody thinks about. DNS-SD never built a directory. It built a spelling convention and let the delegation tree carry it — which is, when you look at it plainly, the only kind of directory the Internet has ever really had.
Member Briefing
Read the full trend briefing
Members read the full briefing with the source notes behind every finding.
Strategic Circle
A daily briefing in your language, built from changes we have verified.
Join for USD 20/monthCancel anytime.
Members also get the full research library, a daily briefing on the networks they follow and the private forum.






