Expand description

Record Data of Well-defined Record Types

This module will eventually contain implementations for the record data of all defined resource record types.

The types are named identically to the domain::base::iana::Rtype variant they implement. They are grouped into submodules for the RFCs they are defined in. All types are also re-exported at the top level here. Ie., for the AAAA record type, you can simple use domain::rdata::Aaaa instead of use domain::rdata::rfc3596::Aaaa which nobody could possibly remember. There are, however, some helper data types defined here and there which are not re-exported to keep things somewhat tidy.

See the domain::base::iana::Rtype enum for the complete set of record types and, consequently, those types that are still missing.

In addition, the module provides two enums combining the known types. AllRecordData indeed contains all record data types known plus UnknownRecordData for the rest, while ZoneRecordData only contains those types that can appear in zone files plus, again, UnknownRecordData for everything else.

Re-exports

pub use self::rfc1035::A;
pub use self::rfc1035::Cname;
pub use self::rfc1035::Hinfo;
pub use self::rfc1035::Mb;
pub use self::rfc1035::Md;
pub use self::rfc1035::Mf;
pub use self::rfc1035::Minfo;
pub use self::rfc1035::Mr;
pub use self::rfc1035::Mx;
pub use self::rfc1035::Ns;
pub use self::rfc1035::Ptr;
pub use self::rfc1035::Soa;
pub use self::rfc1035::Txt;
pub use self::rfc1035::Null;
pub use self::rfc2782::Srv;
pub use self::rfc2845::Tsig;
pub use self::rfc3596::Aaaa;
pub use self::rfc4034::Dnskey;
pub use self::rfc4034::Rrsig;
pub use self::rfc4034::Nsec;
pub use self::rfc4034::Ds;
pub use self::rfc6672::Dname;
pub use self::rfc5155::Nsec3;
pub use self::rfc5155::Nsec3param;
pub use self::rfc7344::Cdnskey;
pub use self::rfc7344::Cds;
pub use self::svcb::Svcb;
pub use self::svcb::Https;

Modules

Record data from RFC 1035: initial record types.

Record data from RFC 2782: SRV records.

Record data from RFC 2845: TSIG records.

Record data from RFC 3596: AAAA records.

Record data from RFC 4034: DS, DNSKEY, RRSIG, and NSEC records.

Record data from RFC 5155: NSEC3 and NSEC3PARAM records.

Record data from RFC 7344: CDS and CDNSKEY records.

Enums

Record data for all record types.

Record data for all record types allowed in zone files.