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

Net.DNSBase.RRCLASS

Description

The 16-bit CLASS field of a DNS resource record. In modern practice essentially everything uses IN (Internet); the other registered values (CHAOS, HESIOD, NONE, ANYCLASS) are historic or have specialised uses. See the IANA DNS Classes registry for the full list.

Synopsis

DNS resource class numbers

newtype RRCLASS Source #

DNS query or resource record class.

Constructors

RRCLASS Word16 

Bundled Patterns

pattern ANYCLASS :: RRCLASS

ANYCLASS (valid only as a query class), https://tools.ietf.org/html/rfc1035#section-3.2.5

pattern CHAOS :: RRCLASS

CHAOS class, https://tools.ietf.org/html/rfc1035#section-3.2.4

pattern CS :: RRCLASS

CS class (obsolete), https://tools.ietf.org/html/rfc1035#section-3.2.4

pattern HESIOD :: RRCLASS

HESIOD class, https://tools.ietf.org/html/rfc1035#section-3.2.4

pattern IN :: RRCLASS

IN class, https://tools.ietf.org/html/rfc1035#section-3.2.4

pattern NONE :: RRCLASS

NONE class (Only used in the update protocol), https://tools.ietf.org/html/rfc2136

Instances

Instances details
Presentable RRCLASS Source # 
Instance details

Defined in Net.DNSBase.Internal.RRCLASS

Bounded RRCLASS Source # 
Instance details

Defined in Net.DNSBase.Internal.RRCLASS

Enum RRCLASS Source # 
Instance details

Defined in Net.DNSBase.Internal.RRCLASS

Num RRCLASS Source # 
Instance details

Defined in Net.DNSBase.Internal.RRCLASS

Read RRCLASS Source # 
Instance details

Defined in Net.DNSBase.Internal.RRCLASS

Integral RRCLASS Source # 
Instance details

Defined in Net.DNSBase.Internal.RRCLASS

Real RRCLASS Source # 
Instance details

Defined in Net.DNSBase.Internal.RRCLASS

Show RRCLASS Source # 
Instance details

Defined in Net.DNSBase.Internal.RRCLASS

Eq RRCLASS Source # 
Instance details

Defined in Net.DNSBase.Internal.RRCLASS

Methods

(==) :: RRCLASS -> RRCLASS -> Bool #

(/=) :: RRCLASS -> RRCLASS -> Bool #

Ord RRCLASS Source # 
Instance details

Defined in Net.DNSBase.Internal.RRCLASS