HTTPS Record

HTTPS Service Binding

Type code
65
Status
In use
Defined in
RFC 9460

What the HTTPS record is for

An HTTPS record is the SVCB record specialized for HTTP. A browser looks it up alongside A and AAAA, and learns before connecting things like supported protocols (alpn, e.g. h3 for HTTP/3), address hints and Encrypted Client Hello keys.

A record with SvcPriority 0 is in AliasMode and points the name at another name, much like a CNAME but allowed at the zone apex. Records with a priority of 1 or more are in ServiceMode and describe an endpoint and its parameters.

The existence of an HTTPS record also tells clients to use HTTPS rather than plain HTTP for that origin. Origins on a port other than 443 publish their record at _<port>._https.<name>.

Wire format and fields

FieldSizeMeaning
SvcPriority16 bits0 for AliasMode; 1 or more for ServiceMode, lower values preferred.
TargetNamedomain nameThe target host, uncompressed. "." means the owner name in ServiceMode.
SvcParamsvariableKey-value pairs (alpn, port, ipv4hint, ipv6hint, ech, ...), each a 16-bit key, a 16-bit length and a value.

Zone file syntax

<owner> <ttl> IN HTTPS <svcpriority> <targetname> [<key>=<value> ...]

Example

The HTTPS record at cloudflare.com, fetched from live DNS on 27 November 2026:

cloudflare.com. 300 IN HTTPS 1 . alpn="h3,h2" ipv4hint=104.16.132.229,104.16.133.229 ipv6hint=2606:4700::6810:84e5,2606:4700::6810:85e5

Common mistakes

  • Advertising h3 in alpn when UDP port 443 is blocked or not served, so clients attempt HTTP/3 and have to fall back.
  • Leaving ipv4hint or ipv6hint unchanged after moving the site. Clients may connect to the hinted addresses before the A/AAAA answers arrive.
  • Adding SvcParams to an AliasMode (priority 0) record. They are ignored there.
  • Publishing an HTTPS record for a site that still needs plain HTTP. Supporting clients will upgrade every request to HTTPS.

Specifications

Related record types

Domain Intelligence APIs

Get started with our easy-to-use API docs.