Expand description
Resource Records are the fundamental type in the DNS - individual records mapping a name to some data.
This module holds structs and utilities for the Resource Records supported by this crate.
Structs§
- A
- An IPv4 Address resource record
- AAAA
- An IPv6 Address resource record
- CName
- A Canonical Name resource record, referring all queries for this name to another name.
- DName
- A Delegation Name resource record, referring all queries for subdomains of this name to another subtree of the DNS.
- DS
- A Delegation Signer resource record which indicates that some alternative
DnsKeycan sign for records in the zone which matches [self.name]. - DnsKey
- A public key resource record which can be used to validate
RRSigs. - NS
- A Name Server resource record, which indicates the server responsible for handling queries for a zone.
- NSec
- A Next Secure Record resource record. This indicates a range of possible names for which there is no such record.
- NSec3
- A Next Secure Record resource record. This indicates a range of possible names for which there is no such record.
- NSec
Type Mask - A mask used in
NSecandNSec3records which indicates the resource record types which exist at the (hash of the) name described inRecord::name. - Name
- A valid domain name.
- RRSig
- A Resource Record (set) Signature resource record. This contains a signature over all the resources records of the given type at the given name.
- TLSA
- A TLS Certificate Association resource record containing information about the TLS certificate which should be expected when communicating with the host at the given name.
- Txt
- A text resource record, containing arbitrary text data
- TxtBytes
- The bytes of a
Txtrecord. - TxtBytes
Iter - An iterator over the bytes in a
TxtBytes
Enums§
- RR
- A supported Resource Record
Constants§
- AAAA_
TYPE - The wire type for AAAA records
- A_TYPE
- The wire type for A records
- TLSA_
TYPE - The wire type for TLSA records
- TXT_
TYPE - The wire type for TXT records