SVCB and HTTPS DNS Records Explained
Most DNS lookups give an application an address, but modern clients often need more information before opening a connection. SVCB and HTTPS DNS records can advertise an alternate endpoint, supported protocols, a port, address hints, and connection parameters in the DNS response. This explainer shows network operators and developers how the records work, why they complement rather than replace A and AAAA records, and how to inspect them safely.
What Are SVCB and HTTPS DNS Records?
SVCB means Service Binding. It is a DNS resource-record type for describing how a client should reach a service. The SVCB and HTTPS specification in RFC 9460 defines SVCB as a general-purpose record and HTTPS as a specialized version for HTTP and HTTPS origins. They use the same wire format and service-parameter model, but clients apply HTTPS-specific rules when resolving an HTTP origin.
An ordinary A or AAAA record answers “which IP address is associated with this name?” An SVCB or HTTPS record can answer additional questions:
- Is there a preferred alternative hostname?
- Which application protocols does that endpoint support, such as HTTP/2 or HTTP/3?
- Does the service use a non-default port?
- Are there address hints that can reduce another lookup?
- Is an ECH configuration available for a TLS connection?
The records are still DNS data. They do not create a connection, authenticate an endpoint, or force every client to use an advertised option. A client that understands the record evaluates it according to the SVCB and HTTPS resolution rules; older clients generally continue using their ordinary address and connection logic.
Why Do These Records Exist?
Historically, a web client would resolve A and AAAA records and then begin connecting. It could learn some additional information later through mechanisms such as an HTTP redirect or Alt-Svc response, but those mechanisms require the client to start a connection first. That creates extra round trips and may expose a less-preferred initial path.
Operators also need a way to delegate service operation without losing the ability to publish a coherent set of parameters. A CNAME can point one name at another name, but it does not carry a service protocol, port, or keying configuration in the same record. CNAME behavior at a zone apex is also constrained by the need to coexist with records such as SOA and NS.
SVCB and HTTPS records address this control-plane gap. A client can learn an endpoint and its capabilities through one record family before it chooses a transport. An operator can direct a service to a different hostname while associating protocol and security parameters with that choice. This is useful for CDNs, multi-protocol web services, privacy features, and services that need a structured extension point in DNS.
The performance benefit is conditional. The client and recursive resolver may need additional SVCB, A, or AAAA lookups, and DNS caching affects the result. A record does not guarantee a faster page load. It gives a capable client better information earlier, allowing the client and implementation to avoid an avoidable trial connection or protocol downgrade.
How SVCB and HTTPS Resolution Works
An SVCB-compatible record contains a priority, a target name, and optional key-value parameters:
owner TTL IN SVCB priority target key=value key=value
HTTPS records use the same presentation shape:
owner TTL IN HTTPS priority target key=value key=value
The priority determines preference among records for the same owner name. Lower values are preferred, but a client can select a higher-priority record when a lower-priority alternative is unusable or unsupported. The target identifies the alternative endpoint. Parameters describe capabilities or connection instructions for that endpoint.
There are two important modes:
AliasMode
A priority of 0 indicates AliasMode. The target name acts as an alias for the service name. The record carries no service parameters in this mode. This provides a CNAME-like delegation model for SVCB-compatible services, including names where an ordinary CNAME would conflict with other DNS data.
For example:
example.com. 300 IN HTTPS 0 edge.example.net.
The client follows the target’s HTTPS record set to obtain service information. AliasMode is not a generic replacement for CNAME: it is interpreted by clients that implement SVCB-compatible resolution, and the target still needs appropriate records and service configuration.
ServiceMode
A priority greater than 0 indicates ServiceMode. The record binds parameters to the target endpoint. A dot (.) target means the service is available at the original owner name rather than at another hostname:
example.com. 300 IN HTTPS 1 . alpn=h2,h3
This says that the service at example.com advertises HTTP/2 and HTTP/3. The client still resolves the address records needed for the connection unless it has usable hints or another cached answer. An alternative endpoint might look like this:
www.example.com. 300 IN HTTPS 1 cdn.example.net. alpn=h3,h2 port=8443
The endpoint must be configured to accept the requested traffic and present a certificate valid for the origin’s name. DNS parameters do not override TLS certificate checks or server-side routing.
Client and resolver roles
The stub resolver asks its recursive resolver for the SVCB or HTTPS RRset. A cooperating recursive resolver can resolve related target and address records and include useful data in the response. The client then applies priority, parameter, and fallback rules before connecting. It may issue more lookups if the response does not contain enough information.
The IANA DNS Service Bindings registry records assigned service-parameter keys and their meanings. This registry matters because a client must know whether it can understand a parameter. Unknown optional keys can generally be ignored, while a key listed through mandatory changes that behavior: a client that does not understand a mandatory key must not use that record as if it had understood the complete configuration.
Components and Key Parameters
The record model is intentionally extensible, but several parameters are common in HTTP deployments:
| Parameter | Purpose | Operational consideration |
|---|---|---|
alpn |
Advertises application protocols such as h2 or h3 |
The endpoint must actually support the selected protocol |
port |
Supplies a port different from the scheme’s default | Firewalls, load balancers, and TLS configuration must allow it |
ipv4hint |
Gives an IPv4 address hint for the target | A hint is not authoritative; clients may still resolve A records |
ipv6hint |
Gives an IPv6 address hint for the target | Do not publish unreachable addresses merely to prefer IPv6 |
ech |
Carries an Encrypted ClientHello configuration | The TLS endpoint must hold the matching private key and support ECH |
mandatory |
Lists parameters a client must understand to use the record | Incorrect use can make capable clients reject an otherwise usable answer |
no-default-alpn |
States that the default protocol should not be assumed | Use only when the advertised ALPN set is complete for the service |
ipv4hint and ipv6hint can reduce connection setup delay when a client already has the service-binding response, but they introduce another piece of data that must be kept consistent with the target’s address records. They are hints rather than a replacement for authoritative address resolution. An operator should treat stale hints as a deployment failure to monitor, not as a reason to stop publishing A and AAAA records.
The alpn value is especially useful for HTTP/3. A client can learn that QUIC and HTTP/3 are available without first making an HTTP/2 connection and waiting for an Alt-Svc response. The client still decides whether QUIC is reachable and whether using it fits its transport policy. Network conditions, middleboxes, and server capacity can all make a fallback necessary.
The ech parameter connects service binding with TLS Encrypted ClientHello. It advertises material that an ECH-capable client can use to protect selected TLS ClientHello fields. Publishing an ech value does not prove that a client negotiated ECH; resolver behavior, client support, key validity, and endpoint configuration still determine the result.
Real-World Use Cases
CDN and hosted-service delegation: A site can publish an alternative endpoint operated by a CDN while retaining the origin name used by users and certificates. The service-binding response can describe the endpoint’s protocol and port rather than relying on a later redirect or protocol upgrade.
HTTP/3 discovery: An HTTPS record can advertise alpn=h3. A client that supports HTTP/3 can attempt QUIC directly, while a client or network that cannot use it can fall back according to its connection logic.
Zone-apex service aliasing: A business may want example.com to use an external service without placing a CNAME at the apex. AliasMode can provide SVCB-compatible aliasing while leaving the zone’s required apex records in place. The authoritative DNS provider and client support still matter.
Encrypted ClientHello discovery: A service can publish ECH configuration through an HTTPS record. This allows clients to find the public configuration as part of service discovery, but it does not replace TLS certificate validation or hide every network signal.
Non-HTTP service discovery: SVCB is general-purpose. A protocol can define how it uses SVCB parameters, while HTTPS provides a standard record type with semantics tailored to HTTP origins. Operators should follow the target protocol’s specification rather than assuming that a web-oriented HTTPS record applies to every service.
Getting Started: Inspect and Publish Records
Start by querying a public name. On Linux and macOS, dig can request either type:
# Inspect HTTPS service bindings.
dig HTTPS example.com +short
# Inspect the general SVCB record type.
dig SVCB example.com +short
# Compare the configured resolver with a specific resolver.
dig HTTPS example.com
dig @1.1.1.1 HTTPS example.com
On Windows, use Resolve-DnsName where the local DNS client supports the record type:
Resolve-DnsName -Name example.com -Type HTTPS
Resolve-DnsName -Name example.com -Type SVCB
An empty answer does not automatically mean that DNS is broken. The zone may not publish the type, the recursive resolver may not have refreshed its cache, or the client may be asking a resolver that does not yet support the record. Compare authoritative data with recursive responses, inspect TTLs, and check whether the response is truncated or returns SERVFAIL.
A conceptual zone-file entry for a direct HTTPS service is:
$TTL 300
example.com. IN HTTPS 1 . alpn=h2,h3
An alias to a provider-controlled endpoint could be represented as:
example.com. IN HTTPS 0 service.provider.example.
The exact interface and validation rules depend on the authoritative DNS provider. For example, Cloudflare’s DNS record documentation explains its supported record management model, TTL behavior, and API workflow. Check that the provider accepts the desired record type and preserves structured parameters instead of quoting or reordering them incorrectly.
After publication, validate in layers:
- Query the authoritative nameserver directly and confirm the owner name, priority, target, and parameters.
- Query the recursive resolvers used by representative clients and wait for old TTLs to expire.
- Confirm that the target has usable A and AAAA records, unless the client is expected to use another supported resolution path.
- Test HTTP/2 and HTTP/3 negotiation separately from DNS publication.
- If ECH is advertised, verify successful negotiation through endpoint or client telemetry rather than treating the presence of
echas proof.
For a self-managed BIND deployment, use the BIND 9 configuration reference and the version-specific documentation for the installed server. Run the server’s zone-check command before reloading a production zone, then query both the primary and secondary nameservers. Keep a serial-number and rollback procedure for changes to service-binding records, because cached answers can outlive a mistaken publication.
Common Misconceptions
“HTTPS records replace A and AAAA records.”
They do not. HTTPS and SVCB records describe service access, while A and AAAA records provide address data. A client may use address hints, cached addresses, or target lookups, but a robust deployment should plan the complete record set.
“Publishing alpn=h3 forces every client to use HTTP/3.”
The parameter advertises a capability. A client can lack HTTP/3 support, fail to reach the QUIC endpoint, or choose another protocol based on policy and network conditions. The server must continue to handle the protocols it claims to support.
“An SVCB alias is just a CNAME with a new name.”
AliasMode provides CNAME-like delegation for SVCB-compatible clients, but it has distinct resolution rules and does not change how legacy clients handle the name. It also does not configure the target service automatically.
“An ech parameter guarantees privacy.”
It only advertises ECH configuration. Privacy depends on a compatible client, an intact DNS response, a valid key, and a correctly configured TLS endpoint. DNS, IP addresses, timing, and other metadata can remain visible.
Related Articles
- Read the DNS lookup process step by step to understand recursive resolution, caching, and authoritative answers.
- Learn how DNS configuration on Linux separates client resolvers, recursive servers, and authoritative zones.
- Compare DNS over HTTPS and DNS over TLS to understand encrypted transport between a client and its resolver.
- See how TLS Encrypted ClientHello protects SNI and how its configuration can be discovered through HTTPS records.
Changelog
- First published.

