An SVCB record (Service Binding record) is a DNS resource record of type 64 that tells a client where and how to reach a service: which alternative endpoint to use, which application protocols it supports, which port it listens on and which connection parameters apply. Among DNS records on the Internet, it is the general-purpose member of the service binding family defined in RFC 9460, published in November 2023.
The record solves a long-standing gap. Before SVCB, a client first resolved an address and only then discovered, through extra round trips or failed attempts, whether the server supported a given protocol, port or encryption feature. SVCB moves that knowledge into the initial DNS answer, so the client can choose the best connection path before the first packet is sent.
How an SVCB record binds a name to a service
An SVCB record binds an owner name to one or more service endpoints through three fields: SvcPriority, TargetName and a list of SvcParams. The priority selects the operating mode and the preference order, the target names the host that actually serves the traffic, and the parameters carry key-value hints about how to connect.
Owner names for SVCB usually carry underscore-prefixed labels that identify the protocol and, where needed, the port, following the attrleaf convention. A record for a hypothetical service on port 8443 might live at _8443._foo.api.example.com, while resolver discovery uses names such as _dns.resolver.arpa. Each protocol that adopts SVCB must publish a mapping document that defines its naming scheme and which parameters it uses.
The following table summarizes the wire and presentation fields of a single SVCB record.
| Field | Content | Purpose |
|---|---|---|
| SvcPriority | 16-bit integer, 0 to 65535 | 0 selects AliasMode; 1 or higher selects ServiceMode and sets preference |
| TargetName | Domain name or “.” | Host that serves the endpoint; “.” means the owner name itself in ServiceMode |
| SvcParams | Ordered key-value pairs | Protocols, port, address hints and encryption settings |
A typical presentation-format entry reads _dns.resolver.arpa. 7200 IN SVCB 1 dot.example.net. alpn=dot port=853. It states that the preferred endpoint is dot.example.net, that it speaks DNS over TLS and that it listens on port 853.
AliasMode and ServiceMode
The SvcPriority value decides the mode of every SVCB record, and the two modes behave very differently. AliasMode (priority 0) redirects the lookup to another name, much like a CNAME, but it may sit at a zone apex where a CNAME is forbidden. ServiceMode (priority 1 or higher) describes a concrete endpoint with its parameters.
Clients collect all ServiceMode records for a name and try them in ascending priority order, so a lower number means a more preferred endpoint. Records with equal priority are treated as equivalent and may be shuffled for load distribution. An AliasMode record should appear alone in its RRset; if ServiceMode records are present at the same name, clients ignore the alias.
| Aspect | AliasMode | ServiceMode |
|---|---|---|
| SvcPriority | Exactly 0 | 1 to 65535 |
| SvcParams allowed | None | Any defined keys |
| TargetName “.” | Service is not available | Use the owner name as the host |
| Typical role | Apex delegation to a provider | Endpoint description with hints |
| Records per name | One | One or many, ranked by priority |
SvcParams keys and what they signal
SvcParams are registered keys maintained in an IANA registry, and each key has a defined wire format and presentation syntax. A client must ignore keys it does not understand, unless the record lists them under the mandatory key, in which case a client that lacks support must skip that record entirely.
| Key | Number | Meaning | Example value |
|---|---|---|---|
| mandatory | 0 | Keys the client must understand | mandatory=alpn,port |
| alpn | 1 | Supported application protocols | alpn=h2,h3 |
| no-default-alpn | 2 | Default protocol is not offered | no-default-alpn |
| port | 3 | Alternative TCP or UDP port | port=8443 |
| ipv4hint | 4 | IPv4 addresses for faster start | ipv4hint=192.0.2.1 |
| ech | 5 | Encrypted Client Hello configuration | ech=AEn+DQBF… |
| ipv6hint | 6 | IPv6 addresses for faster start | ipv6hint=2001:db8::1 |
| dohpath | 7 | URI template for DNS over HTTPS | dohpath=/dns-query{?dns} |
Address hints are advisory: a client may use them to open a connection immediately, but it should still resolve the TargetName for A and AAAA records and prefer those answers once they arrive. The ech parameter is the main delivery channel for Encrypted Client Hello, which hides the requested server name from on-path observers.
SVCB compared with related DNS records
SVCB overlaps with several older and newer records, but it is the only one that combines redirection, endpoint selection and protocol hints in a single generic format. The HTTPS record, type 65, is an SVCB-compatible variant with the same syntax, specialized for the https and http URI schemes so that web clients do not need underscore labels.
| Record | Main function | Key difference from SVCB |
|---|---|---|
| HTTPS record | Service binding for web origins | Same format, fixed to HTTPS, no prefix label |
| SRV record | Host and port for a service | No protocol hints, no apex alias, weight-based balancing |
| CNAME | Name-wide alias | Cannot exist at the apex or beside other records |
| ALIAS record | Provider-specific apex flattening | Not a standard type; resolved by the authoritative server |
| NAPTR record | Rewrite rules for URI discovery | Regex-based, complex, rarely used outside telephony |
In practice, new protocols adopt SVCB rather than SRV because it carries capability information and supports Encrypted Client Hello. SRV remains common for established services such as SIP and XMPP, and both can coexist in the same zone.
Deploying SVCB records in practice
Deploying SVCB requires support in three places: the authoritative DNS software or hosting panel, the recursive resolvers that clients use, and the client application itself. Because SVCB is a standard type, most modern resolvers pass it through transparently even when they do not interpret it, and many perform additional section processing that returns the target addresses in the same response.
| Situation | Recommended record | Reason |
|---|---|---|
| Resolver advertises encrypted transports | SVCB at _dns name | Discovery of Designated Resolvers relies on it |
| Web origin with HTTP/3 and ECH | HTTPS record | Browsers query type 65 for https URLs |
| Apex domain hosted on a CDN | AliasMode SVCB or HTTPS | Standard apex redirection without CNAME |
| Custom protocol on a nonstandard port | ServiceMode SVCB | Port and protocol hints in one answer |
| Legacy client base only | SRV or A and AAAA | Older clients ignore SVCB |
A sensible TTL range is similar to that of address records, often 300 to 7200 seconds, because hints and ECH keys must stay consistent with the real endpoints. Operators who rotate ECH keys should keep TTLs short enough that clients do not cache an outdated configuration for long.
Limitations and common mistakes
SVCB improves connection setup only when clients actually query it, and client support remains uneven outside browsers and resolver discovery. The record also adds operational surface: wrong hints or stale parameters can send traffic to an endpoint that no longer exists.
- Mixing AliasMode and ServiceMode at one name, which makes clients ignore the alias.
- Publishing address hints that drift from the actual A and AAAA records after a migration.
- Listing a key under mandatory without need, which causes older clients to skip the record.
- Assuming SVCB replaces address records; clients still need A and AAAA data for the TargetName.
- Relying on ECH without DNSSEC or encrypted DNS, since an attacker who alters the answer can strip the configuration.
Security depends on the integrity of the DNS path. Without DNSSEC validation or an encrypted, trusted resolver, an on-path attacker can remove or forge SVCB data and force a downgrade to a plain connection. Clients are therefore designed to fail safely, falling back to ordinary connection behavior instead of trusting an unverified record blindly.
Explained without jargon
When a device wants to reach an online service, it first asks the DNS for an address. An SVCB record adds a short note to that answer: which building to go to, which door is open and which languages are spoken inside. The device no longer has to knock on several doors to find out.
The practical result is faster and more private connections. The device can pick a modern protocol, use the right port and turn on extra encryption from the very first message, because all the instructions arrive together with the address.
A typical use case
A company runs its own recursive resolver for 2,000 employee laptops and wants them to switch from unencrypted DNS on port 53 to DNS over HTTPS without touching each device. The network team publishes an SVCB record at _dns.resolver.arpa with priority 1, the target doh.corp.example, the parameters alpn=h2,h3 and dohpath=/dns-query{?dns}, plus a second record with priority 2 for DNS over TLS on port 853.
Operating systems that support Discovery of Designated Resolvers query that name, read the endpoints in priority order and upgrade automatically to encrypted DNS. Within a week, monitoring shows that most queries from supported systems arrive over HTTPS, while older laptops continue to use port 53 without errors, because they simply ignore the record.