Module rr

Source
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 DnsKey can 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.
NSecTypeMask
A mask used in NSec and NSec3 records which indicates the resource record types which exist at the (hash of the) name described in Record::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 Txt record.
TxtBytesIter
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

Traits§

Record
A trait describing a resource record (including the RR enum).