dnsbase
Copyright(c) Viktor Dukhovni 2026
LicenseBSD-3-Clause
Maintainerietf-dane@dukhovni.org
Stabilityunstable
Safe HaskellNone
LanguageGHC2024

Net.DNSBase.RData.SVCB.SVCParamKey

Description

The 16-bit numeric keys that select among service-parameter values inside an SVCB or HTTPS resource record. The keys that were initially registered are listed in RFC 9460 section 14.3.2, with subsequent additions tracked in the SvcParamKey IANA registry. The bidirectional patterns below cover the keys that have standardised value formats in this library; unknown keys are carried as OpaqueSPV values.

Synopsis

Documentation

newtype SVCParamKey Source #

A service-parameter key code (RFC 9460 section 2.1). The pattern synonyms below name the keys that have standardised value formats; an unrecognised code keeps its numeric form and presents as keyN.

Constructors

SVCParamKey Word16 

Instances

Instances details
Presentable SVCParamKey Source # 
Instance details

Defined in Net.DNSBase.RData.SVCB.SVCParamKey

Bounded SVCParamKey Source # 
Instance details

Defined in Net.DNSBase.RData.SVCB.SVCParamKey

Enum SVCParamKey Source # 
Instance details

Defined in Net.DNSBase.RData.SVCB.SVCParamKey

Num SVCParamKey Source # 
Instance details

Defined in Net.DNSBase.RData.SVCB.SVCParamKey

Read SVCParamKey Source # 
Instance details

Defined in Net.DNSBase.RData.SVCB.SVCParamKey

Integral SVCParamKey Source # 
Instance details

Defined in Net.DNSBase.RData.SVCB.SVCParamKey

Real SVCParamKey Source # 
Instance details

Defined in Net.DNSBase.RData.SVCB.SVCParamKey

Show SVCParamKey Source # 
Instance details

Defined in Net.DNSBase.RData.SVCB.SVCParamKey

Eq SVCParamKey Source # 
Instance details

Defined in Net.DNSBase.RData.SVCB.SVCParamKey

Ord SVCParamKey Source # 
Instance details

Defined in Net.DNSBase.RData.SVCB.SVCParamKey

pattern MANDATORY :: SVCParamKey Source #

Keys the client must understand to use this RR RFC9460, Section 14.3.2

pattern ALPN :: SVCParamKey Source #

Application-Layer Protocol Negotiation identifiers RFC9460, Section 14.3.2

pattern NODEFAULTALPN :: SVCParamKey Source #

Suppress the default ALPN for this scheme RFC9460, Section 14.3.2

pattern PORT :: SVCParamKey Source #

Alternative TCP/UDP port RFC9460, Section 14.3.2

pattern IPV4HINT :: SVCParamKey Source #

Speculative IPv4 address hints RFC9460, Section 14.3.2

pattern ECH :: SVCParamKey Source #

Encrypted Client Hello configuration RFC9848, IANA Considerations

pattern IPV6HINT :: SVCParamKey Source #

Speculative IPv6 address hints RFC9460, Section 14.3.2

pattern DOHPATH :: SVCParamKey Source #

URI template for DNS-over-HTTPS resolver discovery RFC9461, Section 4

pattern OHTTP :: SVCParamKey Source #

Oblivious HTTP support indicator RFC9540, Section 4

pattern DOCPATH :: SVCParamKey Source #

DNS over CoAP path RFC9953, Section 3