HTTPS/SVCB Record Checker/Generator
Validate published or planned HTTPS and SVCB records and generate new ones.
DNS SecurityAn HTTPS record is configuration that a client acts on before it sends a single packet to your server. That makes it powerful — HTTP/3 on the first connection, an alias at the zone apex, an encrypted ClientHello — and it makes mistakes silent, because a client that rejects the record simply connects the old way.
Clients that support RFC 9460 query the HTTPS record of the origin's hostname alongside A and AAAA. For port 443 the owner name is the hostname itself; any other port uses port-prefix naming, so https://example.com:8443 is looked up at _8443._https.example.com. The answer lists endpoints in priority order with the parameters to use: the ALPN protocols on offer, the port, address hints, and an ECH configuration. The client still validates the certificate against the original origin name. The record changes where and how it connects, never whom it authenticates.
The record also carries a security signal. A client that finds a usable HTTPS record behaves as if it had received a 307 redirect from http:// to https://, much like HSTS, and it may remove the option to click through certificate errors (RFC 9460 Section 9.5). Two consequences follow. An origin that publishes HTTPS records must not depend on users bypassing certificate warnings. And because DNS is often an insecure channel, RFC 9460 tells clients to trust the signal no more than a 307 redirect over cleartext HTTP; it complements HSTS and preload rather than replacing them, as discussed in Security Headers That Actually Change Risk.
Priority 0 is AliasMode: it points the whole service at another name and carries no parameters. Its main purpose is the zone apex, where a CNAME is not allowed, so example.com. HTTPS 0 svc.example.net. lets a provider operate the endpoints without an apex CNAME. Unlike a CNAME, it affects only this record type; MX, TXT, and everything else at the name stay untouched. Priority 1 and higher is ServiceMode: each record describes one endpoint, lower numbers are preferred, and records with equal priority should be shuffled. A ServiceMode target of . means “this owner name”; an AliasMode target of . means the service is not available.
example.com. 3600 IN HTTPS 1 . alpn=h3,h2
example.com. 3600 IN A 192.0.2.10
example.com. 3600 IN AAAA 2001:db8::10
www.example.com. 3600 IN CNAME example.com.
Keep the A and AAAA records. Clients without HTTPS-record support ignore the record entirely, and supporting clients resolve the target's addresses anyway. Keep alias chains short as well: RFC 9460 does not recommend zone structures that need more than eight aliases, counting CNAME and AliasMode records together, and clients that hit their own limit fall back to the plain origin.
alpn lists protocols in addition to the default, which for HTTPS records is http/1.1. no-default-alpn removes that default and is only valid together with alpn; a record that sets it alone is not self-consistent, and clients must reject it. Advertising h3 tells clients to try QUIC over UDP on the advertised port, so publish it only where that UDP path is open end to end. port is automatically mandatory, and clients that restrict ports — browsers apply the Fetch bad-port list — apply the same restriction to it, so a record pointing at a blocked port is unusable however valid its syntax.
ipv4hint and ipv6hint are only a head start. Once real A and AAAA answers are available, clients should use those instead, so hints that disagree with the target's addresses cause slow or misdirected first connections rather than useful failover. Publish ipv6hint whenever you publish ipv4hint, and leave hints out when the target is the owner name itself, where they gain nothing. mandatory names additional keys a client must understand to use the record; a client that does not recognize a listed key ignores that record.
The strictest rule concerns the wire format. If any record in the RRset is malformed — keys out of order, a value of the wrong shape, a parameter cut short — clients must reject the entire RRset and connect as if no HTTPS record existed (RFC 9460 Section 2.2). Nothing breaks visibly; HTTP/3 discovery and ECH simply stop. That is why the HTTPS/SVCB Record Checker/Generator treats wire-format errors as blocking and lets you paste planned records, or build them with its generator, before they reach the zone.
The ech parameter carries the server's ECHConfigList in Base64 (RFC 9848). It lets a client encrypt the inner ClientHello, including the real server name, to the client-facing server named by the configuration's public name. The publisher must ensure that every address of the TargetName reaches a server that holds the matching private key or is authoritative for that public name; otherwise connections fail outright. When every ServiceMode record carries ech, ECH-capable clients switch to SVCB-reliant mode and no longer fall back to a connection without the record (RFC 9848 Section 5.1). When only some records carry it, clients that pick the others connect without ECH.
Key rotation therefore has a DNS dimension. Resolvers may keep the previous configuration for the record's TTL, so the server should keep accepting the previous key at least that long after a new one is published. A client that arrives with a stale configuration still gets through when the server authenticates as the public name and sends retry configurations (RFC 9849), but every such client pays for a rejected handshake and a new connection. In practice ECH keys are usually managed by a CDN or the TLS terminator; the checker decodes the published list, reports its public name, key encapsulation mechanism, and unsupported versions, and points out record sets in which only some endpoints carry ECH.
Everything above is DNS. A record can be perfectly valid while the server does not speak h3 on that port, does not hold the ECH key, or does not answer at the hinted addresses. The checker deliberately opens no connection to the endpoints it finds: its result says what is published and how compliant clients will read it, not whether the service works. Close the loop from the endpoint side — confirm ALPN, certificate names, and protocol versions with the TLS Configuration Checker — and keep the TLS policy and the record in step; the TLS hardening guide covers the endpoint side.
A practical order for changes: paste or build the planned records and clear every error; publish them with a moderate TTL; run the live check to see the records as a resolver serves them, including CNAME and AliasMode hops and the A and AAAA records of each target; then test the endpoint itself. When removing a capability — dropping h3, retiring an ECH key, moving a port — change the record first and wait out its TTL before switching the endpoint feature off. And if the live lookup fails rather than returning “no record”, treat it as a failure: RFC 9460 tells clients whose DNS is cryptographically protected to abandon the connection in that case rather than fall back.