Summary
- RFC 2782, February 2000, defines the SRV record, which "allows administrators to use several servers for a single domain, to move services from host to host with little fuss, and to designate some hosts as primary servers for a service and others as backups".
- A client asks for a service and protocol inside a domain and "get[s] back the names of any available servers", with priority, weight, port and target attached.
- The record only works if a protocol asks for it: a specification using SRV MUST define the service name and MUST include security considerations, and SRV records "SHOULD NOT be used in the absence of" such a specification.
The DNS gained a second question
Hostname resolution answered exactly one question: which address belongs to this name. That is enough while a service lives on the machine it is named after. It stops being enough the moment the service moves, or the moment two machines are supposed to share it.
SRV answers the other question — where does this service live in this domain — and in doing so turns the DNS from a directory of hosts into a small, public database of operational intent. One question is a phone book. Two is a control plane, and control planes get read by everyone.
Priority and weight are policy in a record
Priority orders servers by preference; weight spreads load inside a priority band. Both are numbers a client must honour using an algorithm the document spells out, so the operator’s failover plan stops being tribal knowledge and becomes data anyone can read.
That is the interesting move. Instead of every client inventing its own fallback order, the record carries it, and the behaviour becomes inspectable from outside the organisation that chose it. A failover plan kept in a runbook is a rumour. The same plan kept in a record is a fact with a TTL.
The opt-in requirement is the safety valve
The applicability statement is unusually strict for a namespace that normally runs on gentleman’s agreements: SRV is for applications whose protocol specification says so. A specification that uses it MUST name the service and MUST carry security considerations; without one, SRV records SHOULD NOT exist at all.
That is the safety valve. A stray record can silently redirect behaviour a protocol never expected to change, so the record is only allowed to mean something where a specification has already said what it means. Anchoring it to a named service is what keeps a general-purpose namespace from being overrun by conventions nobody voted for.
What it cost
Because SRV lives in a shared namespace, the service names became an IANA registry with its own assignment rules, and every new protocol that wanted one had to go and publish it. Cheap coordination, but not free.
It also made the DNS answerable for operational policy. A stale record now misinforms every client at once, and the blast radius of a typo is the whole service. The record can describe a decision; it cannot make anyone obey it. It can, however, make everyone wrong at the same moment.
The lesson about location
Separating what a name means from where the thing currently runs is a small change with a large consequence: infrastructure can move without renaming anything, and a service can be re-homed without a migration project.
The general lesson is the one every registry learns the hard way. When you publish operational intent as data, define who may publish it, say what clients must do with it, and expect every mistake to be visible everywhere at once.
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.






