dns-svcbRec

Last published : Nov 01, 2026
The following operations can be performed on "dns-svcbRec":

add dns svcbRec

Add a SVCB or HTTPS service binding record.

Synopsis

add dns svcbRec <domain> -priority <positive_integer> -targetName <string>

Arguments

domain Domain name for the SVCB/HTTPS record.
priority Service priority (0 for AliasMode, >0 for ServiceMode). Minimum value: 0 Maximum value: 65535
targetName Target domain name.
svcbType Service type: SVCB or HTTPS.
Possible values: SVCB, HTTPS Default value: SVCB
alpn Comma-separated list of ALPN protocol identifiers.
port Port number for the service. Minimum value: 1 Maximum value: 65535
ipv4hint Comma-separated list of IPv4 hint addresses.
ipv6hint Comma-separated list of IPv6 hint addresses.
encryptedClientHello Base64-encoded ECH configuration.
noDefaultAlpn Indicates no default ALPN protocols. Default value: 0
mandatory Comma-separated list of mandatory SvcParam keys.
TTL Time to Live (TTL) in seconds. Default value: 3600 Maximum value: 2147483647

Example

add dns svcbRec example.com -priority 1 -targetName target.com -port 443

rm dns svcbRec

Remove a SVCB/HTTPS record.

Synopsis

rm dns svcbRec <domain>

Arguments

domain Domain name for the SVCB/HTTPS record.
targetName Target domain name.
priority Service priority (0 for AliasMode, >0 for ServiceMode). Minimum value: 0 Maximum value: 65535
svcbType Service type: SVCB or HTTPS.
Possible values: SVCB, HTTPS Default value: SVCB

Example

rm dns svcbRec example.com -priority 100 -targetName svc1.example.net

set dns svcbRec

Modifies the parameters of the specified SVCB/HTTPS record.

Synopsis

set dns svcbRec <domain> -priority <positive_integer> -targetName <string>

Arguments

domain Domain name for the SVCB/HTTPS record.
priority Service priority (0 for AliasMode, >0 for ServiceMode). Minimum value: 0 Maximum value: 65535
targetName Target domain name.
svcbType Service type: SVCB or HTTPS.
Possible values: SVCB, HTTPS Default value: SVCB
alpn Comma-separated list of ALPN protocol identifiers.
port Port number for the service. Minimum value: 1 Maximum value: 65535
ipv4hint Comma-separated list of IPv4 hint addresses.
ipv6hint Comma-separated list of IPv6 hint addresses.
encryptedClientHello Base64-encoded ECH configuration.
noDefaultAlpn Indicates no default ALPN protocols. Default value: 0
mandatory Comma-separated list of mandatory SvcParam keys.
TTL Time to Live (TTL) in seconds. Default value: 3600 Maximum value: 2147483647

Example

set dns svcbRec example.com -svcbPriority 1 -targetname svc1.example.net -alpn h3,h2

unset dns svcbRec

Use this command to remove dns svcbRec settings.Refer to the set dns svcbRec command for meanings of the arguments.

Synopsis

unset dns svcbRec <domain> -priority <positive_integer> -targetName <string>

show dns svcbRec

Display SVCB/HTTPS records.

Synopsis

show dns svcbRec

Arguments

domain Domain name for the SVCB/HTTPS record.
svcbType Service type: SVCB or HTTPS.
Possible values: SVCB, HTTPS Default value: SVCB
type Type of records: ADNS, PROXY, or ALL.
Possible values: ALL, ADNS, PROXY

Output

priority Service priority (0 for AliasMode, >0 for ServiceMode).
targetName Target domain name.
TTL Time to Live (TTL) in seconds.
ecsSubnet Subnet for which this particular record is cached. Subnet caching will occur for responses with EDNS Client Subnet (ECS) option. Applies to resource records obtained through proxy configurations only
alpn Comma-separated list of ALPN protocol identifiers.
noDefaultAlpn Indicates no default ALPN protocols.
ipv4hint Comma-separated list of IPv4 hint addresses.
ipv6hint Comma-separated list of IPv6 hint addresses.
encryptedClientHello Base64-encoded ECH configuration.
mandatory Comma-separated list of mandatory SvcParam keys.
port Port number for the service.
authType Record type (ADNS/PROXY/ALL).
devno count stateflag _nextgenAPIResource