SVCB Records

The Service Binding (SVCB) record type is used to provide alternative endpoints that are authoritative for the service, along with parameters associated with each of the endpoints. Simply put, an SVCB record helps websites and online services work more efficiently and flexibly to connect to a device.

By configuring an SVCB record, a client can specify how users should connect to a service, including which protocols and network endpoints are available or optimal. Additionally, an SVCB record enables the aliasing of Apex domains, which isn't possible via a CNAME.

Example Use Case: A website that supports both regular HTTP and secure HTTPS connections configures an SVCB record to help direct the connection to use HTTPS, ensuring a more secure connection without requiring additional configurations.

For more details and configuration options, refer to our Blogpost about SVCB and HTTPS records: https://dns.ultraproducts.support/hc/en-us/community/posts/25801694057371-Introducing-SVCB-and-HTTPS-Resource-Records.

Configuration Modes

The SVCB record consists of two possible modes that can be configured.

Alias Mode

When Alias Mode is configured, the SVCB record allows aliasing at the zone apex (one domain name to another domain name), where CNAME is not allowed. Unlike a CNAME, an SVCB record in Alias Mode does not affect the resolution of other resource record types. It applies only to a specific service, instead of an entire domain name.

Service Mode

When Service Mode is configured, the SVCB record provides specific connection information bound to a service endpoint domain. , it binds a service to specific connection attributes that can then be used to offer different ways to connect or provide additional features.

Create an Alias Mode SVCB Record

Please note that only one SVCB record should be in Alias Mode at any given time. Having multiple records in Alias Mode will result in the client or recursive resolvers picking a record at random.

  1. Click the Add button to create a SVCB record.

  2. Provide a valid hostname for the record.

  3. Select the Alias checkbox. The Priority and Service Parameters fields will become disabled.

  4. The Target field is the domain name of the Alias target and needs to be a valid Fully Qualified Domain Name (FQDN), or the ' . ' (period) value, which is also supported. The Target SHOULD NOT be equal to the owner name, as this results in a loop.

    • A target value of '.' (period) has the same meaning as a NULL (MX) record. A NULL SVCB record indicates to clients that the specified service is unavailable.

  5. Provide a Time to Live (TTL) value or leave the field empty and use the configured default value for your account.

  6. Click Save.

 

Create a Service Mode SVCB Record

  1. Click the Add button to create a SVCB record.

  2. Provide a valid hostname for the record.

  3. The Target field is the domain name of the Alias target and needs to be a valid Fully Qualified Domain Name (FQDN), or the ' . ' (period) value, which is also supported.

    • In Service Mode, if the Target value is ' . ' (period), the owner name of this record MUST be used as the effective TargetName.

  4. Provide a Priority value as an integer between 1-65535. (A priority value of 0 is only used for Alias Mode.) The Priority field is used to impose an ordering of SVCB resource records, with a smaller value indicating that the domain owner recommends the use of the indicated record over SVCB records with a larger Priority value.

  5. The Service Parameters are a whitespace-separated list, with each Service Parameter consisting of a Key=Value pair, or a standalone key value, describing the alternate endpoint of the Target. Additional details about Service Parameter Keys can be found at https://www.iana.org/assignments/dns-svcb/dns-svcb.xhtml.

    • Service Parameter Keys are lower-case alphanumeric strings. These Key names contain 1-63 characters from the ranges "a"-"z", "0"-"9", and "-".

    • Please note that Keys must be incrementally ordered.

  6. Provide a Time to Live (TTL) value or leave empty and use the configured default value for your account.

  7. Click Save.

 

Additional Service Parameter Details

Key Pair

Description

alpn Lists supported application-layer protocols, crucial for protocol negotiation.
no-default-alpn Indicates the absence of a default ALPN, requiring explicit negotiation.
ipv4hint and ipv6hint Provide IP addresses hints to expedite connection establishment.
AliasMode (SvcPriority = 0) Functions like a CNAME record but can be used at the zone apex.
ServiceMode (SvcPriority > 0) Binds the TargetName to specific service parameters, guiding the client to the optimal service endpoint.