DNS Constant Enumerations¶
DNS CLASSes [*] |
|
Resource Record (RR) TYPEs [†] |
|
DNS OpCodes [‡] |
|
DNS RCODEs [§] |
|
DNS EDNS0 Option Codes (OPT) [¶] |
DNS CLASSes¶
Generated from pcapkit.vendor.dns.rr_class.RRClass.
- class pcapkit.const.dns.rr_class.RRClass(*values)[source]¶
Bases:
EnumRegistry,aenum.IntEnum[RRClass] DNS CLASSes
- Unassigned_2 = 2¶
Unassigned
- CH = 3¶
Chaos (CH) [D. Moon, “Chaosnet”, A.I. Memo 628, Massachusetts Institute of Technology Artificial Intelligence Laboratory, June 1981.]
- HS = 4¶
Hesiod (HS) [Dyer, S., and F. Hsu, “Hesiod”, Project Athena Technical Plan - Name Service, April 1987.]
- classmethod _validate_value(value)[source]¶
Reject
valueunless it passes the range check_missing_()makes.Overrides
_validate_value()with that check and the message it raises, soregister()refuses exactly the valuesget()refuses, in the same words (#1816).- Parameters:
value (
Any) – Value about to be looked up or minted.- Raises:
EnumValueError – If
valuefails that check. AValueError, so anexcept ValueErrorcaller is unaffected.
Resource Record (RR) TYPEs¶
Generated from pcapkit.vendor.dns.rr_type.RRType.
- class pcapkit.const.dns.rr_type.RRType(*values)[source]¶
Bases:
EnumRegistry,aenum.IntEnum[RRType] DNS Resource Record (RR) TYPEs
- NSAP = 22¶
NSAP – for NSAP address, NSAP style A record (DEPRECATED) [RFC 1706][Moving TPC.INT and NSAP.INT infrastructure domains to historic]
- NSAP_PTR = 23¶
NSAP-PTR – for domain name pointer, NSAP style (DEPRECATED) [RFC 1706][Moving TPC.INT and NSAP.INT infrastructure domains to historic]
- EID = 31¶
EID – Endpoint Identifier [Michael Patton][http://ana-3.lcs.mit.edu/~jnc/nimrod/dns.txt]
- NIMLOC = 32¶
NIMLOC – Nimrod Locator [1][Michael Patton][http://ana-3.lcs.mit.edu/~jnc/nimrod/dns.txt]
- ATMA = 34¶
ATMA – ATM Address [ ATM Forum Technical Committee, “ATM Name System, V2.0”, Doc ID: AF-DANS-0152.000, July 2000. Available from and held in escrow by IANA.]
- SINK = 40¶
SINK – SINK [Donald E Eastlake][draft-eastlake-kitchen-sink-02]
- DELEGPARAM = 54¶
DELEGPARAM – Extensible Delegation Indirection (TEMPORARY - registered 2026-10-16, expires 2027-10-16) [draft-ietf-deleg-12]
- NINFO = 56¶
NINFO – NINFO [Jim Reid]
- RKEY = 57¶
RKEY – RKEY [Jim Reid]
- TALINK = 58¶
TALINK – Trust Anchor LINK [Wouter Wijngaards]
- UNECE = 69¶
UNECE – Value coded per a UNECE Recommendation [draft-woodcock-faltstrom-external-registry-rrtypes-00]
- ISO = 70¶
ISO – Value coded per an ISO standard [draft-woodcock-faltstrom-external-registry-rrtypes-00]
- UINFO = 100¶
UINFO [IANA-Reserved]
- UID = 101¶
UID [IANA-Reserved]
- GID = 102¶
GID [IANA-Reserved]
- UNSPEC = 103¶
UNSPEC [IANA-Reserved]
- ANY = 255¶
* – A request for some or all records the server has available [RFC 1035][RFC 6895][RFC 8482]
- AVC = 258¶
AVC – Application Visibility and Control [Wolfgang Riedel]
- DOA = 259¶
DOA – Digital Object Architecture [draft-durand-doa-over-dns-02]
- WALLET = 262¶
WALLET – Public wallet address [Paul Hoffman]
- CLA = 263¶
CLA – BP Convergence Layer Adapter [draft-johnson-dns-ipn-cla-07]
- IPN = 264¶
IPN – BP Node Number [draft-johnson-dns-ipn-cla-07]
- TA = 32768¶
TA – DNSSEC Trust Authorities [Sam Weiler][ Deploying DNSSEC Without a Signed Root. Technical Report 1999-19, Information Networking Institute, Carnegie Mellon University, April 2004.]
- DELEG = 61440¶
DELEG – Extensible Delegation (TEMPORARY - registered 2026-10-16, expires 2027-10-16) [draft-ietf-deleg-12]
- Reserved_65535 = 65535¶
Reserved
- classmethod _validate_value(value)[source]¶
Reject
valueunless it passes the range check_missing_()makes.Overrides
_validate_value()with that check and the message it raises, soregister()refuses exactly the valuesget()refuses, in the same words (#1816).- Parameters:
value (
Any) – Value about to be looked up or minted.- Raises:
EnumValueError – If
valuefails that check. AValueError, so anexcept ValueErrorcaller is unaffected.
DNS OpCodes¶
Generated from pcapkit.vendor.dns.opcode.Opcode.
- class pcapkit.const.dns.opcode.Opcode(*values)[source]¶
Bases:
EnumRegistry,aenum.IntEnum[Opcode] DNS OpCodes
- Unassigned_3 = 3¶
Unassigned
- classmethod _validate_value(value)[source]¶
Reject
valueunless it passes the range check_missing_()makes.Overrides
_validate_value()with that check and the message it raises, soregister()refuses exactly the valuesget()refuses, in the same words (#1816).- Parameters:
value (
Any) – Value about to be looked up or minted.- Raises:
EnumValueError – If
valuefails that check. AValueError, so anexcept ValueErrorcaller is unaffected.
DNS RCODEs¶
Generated from pcapkit.vendor.dns.rcode.RCode.
- class pcapkit.const.dns.rcode.RCode(*values)[source]¶
Bases:
EnumRegistry,aenum.IntEnum[RCode] DNS RCODEs
- classmethod _validate_value(value)[source]¶
Reject
valueunless it passes the range check_missing_()makes.Overrides
_validate_value()with that check and the message it raises, soregister()refuses exactly the valuesget()refuses, in the same words (#1816).- Parameters:
value (
Any) – Value about to be looked up or minted.- Raises:
EnumValueError – If
valuefails that check. AValueError, so anexcept ValueErrorcaller is unaffected.
DNS EDNS0 Option Codes (OPT)¶
Generated from pcapkit.vendor.dns.option.Option.
- class pcapkit.const.dns.option.Option(*values)[source]¶
Bases:
EnumRegistry,aenum.IntEnum[Option] DNS EDNS0 Option Codes (OPT)
- Reserved_4 = 4¶
Reserved [draft-cheshire-edns0-owner-option-00]
- EDNS_Client_Tag = 16¶
EDNS-Client-Tag [draft-bellis-dnsop-edns-tags-01]
- EDNS_Server_Tag = 17¶
EDNS-Server-Tag [draft-bellis-dnsop-edns-tags-01]
- EDE_EXTRA_TEXT_LANGUAGE = 22¶
EDE-EXTRA-TEXT-LANGUAGE [draft-muks-dns-filtering-05]
- FILTERING_CONTACT = 23¶
FILTERING-CONTACT [draft-muks-dns-filtering-05]
- FILTERING_ORGANIZATION = 24¶
FILTERING-ORGANIZATION [draft-muks-dns-filtering-05]
- FILTERING_DB = 25¶
FILTERING-DB [draft-muks-dns-filtering-05]
- Structured_DNS_Error = 26¶
Structured DNS Error [RFC-ietf-dnsop-structured-dns-error-27]
- Umbrella_Ident = 20292¶
Umbrella Ident [https://developer.cisco.com/docs/cloud-security/] [Cisco CIE DNS team]
- DeviceID = 26946¶
DeviceID [https://developer.cisco.com/docs/cloud-security/] [Cisco CIE DNS team]
- classmethod _validate_value(value)[source]¶
Reject
valueunless it passes the range check_missing_()makes.Overrides
_validate_value()with that check and the message it raises, soregister()refuses exactly the valuesget()refuses, in the same words (#1816).- Parameters:
value (
Any) – Value about to be looked up or minted.- Raises:
EnumValueError – If
valuefails that check. AValueError, so anexcept ValueErrorcaller is unaffected.
Footnotes