/// The TYPE value according to RFC 1035 /// /// All "EXPERIMENTAL" markers here are from the RFC #[derive(Debug, PartialEq, Eq, Clone, Copy)] pubenumType { /// a host addresss
A = a::Record::TYPE, /// an authoritative name server
NS = ns::Record::TYPE, /// a mail forwarder (Obsolete - use MX)
MF = mf::Record::TYPE, /// the canonical name for an alias
CNAME = cname::Record::TYPE, /// marks the start of a zone of authority
SOA = soa::Record::TYPE, /// a mailbox domain name (EXPERIMENTAL)
MB = mb::Record::TYPE, /// a mail group member (EXPERIMENTAL)
MG = mg::Record::TYPE, /// a mail rename domain name (EXPERIMENTAL)
MR = mr::Record::TYPE, /// a null RR (EXPERIMENTAL)
NULL = null::Record::TYPE, /// a well known service description
WKS = wks::Record::TYPE, /// a domain name pointer
PTR = ptr::Record::TYPE, /// host information
HINFO = hinfo::Record::TYPE, /// mailbox or mail list information
MINFO = minfo::Record::TYPE, /// mail exchange
MX = mx::Record::TYPE, /// text strings
TXT = txt::Record::TYPE, /// IPv6 host address (RFC 2782)
AAAA = aaaa::Record::TYPE, /// service record (RFC 2782)
SRV = srv::Record::TYPE, /// EDNS0 options (RFC 6891)
OPT = opt::Record::TYPE, /// next secure record (RFC 4034, RFC 6762)
NSEC = nsec::Record::TYPE,
}
/// The QTYPE value according to RFC 1035 /// /// All "EXPERIMENTAL" markers here are from the RFC #[derive(Debug, PartialEq, Eq, Clone, Copy)] #[cfg_attr(feature = "with-serde", derive(Serialize, Deserialize))] pubenum QueryType { /// a host addresss
A = a::Record::TYPE, /// an authoritative name server
NS = ns::Record::TYPE, /// a mail forwarder (Obsolete - use MX)
MF = mf::Record::TYPE, /// the canonical name for an alias
CNAME = cname::Record::TYPE, /// marks the start of a zone of authority
SOA = soa::Record::TYPE, /// a mailbox domain name (EXPERIMENTAL)
MB = mb::Record::TYPE, /// a mail group member (EXPERIMENTAL)
MG = mg::Record::TYPE, /// a mail rename domain name (EXPERIMENTAL)
MR = mr::Record::TYPE, /// a null RR (EXPERIMENTAL)
NULL = null::Record::TYPE, /// a well known service description
WKS = wks::Record::TYPE, /// a domain name pointer
PTR = ptr::Record::TYPE, /// host information
HINFO = hinfo::Record::TYPE, /// mailbox or mail list information
MINFO = minfo::Record::TYPE, /// mail exchange
MX = mx::Record::TYPE, /// text strings
TXT = txt::Record::TYPE, /// IPv6 host address (RFC 2782)
AAAA = aaaa::Record::TYPE, /// service record (RFC 2782)
SRV = srv::Record::TYPE, /// A request for a transfer of an entire zone
AXFR = axfr::Record::TYPE, /// A request for mailbox-related records (MB, MG or MR)
MAILB = mailb::Record::TYPE, /// A request for mail agent RRs (Obsolete - see MX)
MAILA = maila::Record::TYPE, /// A request for all records
All = all::Record::TYPE,
}
/// The CLASS value according to RFC 1035 #[derive(Debug, PartialEq, Eq, Clone, Copy)] pubenum Class { /// the Internet IN = 1, /// the CSNET class (Obsolete - used only for examples in some obsolete /// RFCs)
CS = 2, /// the CHAOS class
CH = 3, /// Hesiod [Dyer 87]
HS = 4,
}
/// The QCLASS value according to RFC 1035 #[derive(Debug, PartialEq, Eq, Clone, Copy)] pubenum QueryClass { /// the Internet IN = 1, /// the CSNET class (Obsolete - used only for examples in some obsolete /// RFCs)
CS = 2, /// the CHAOS class
CH = 3, /// Hesiod [Dyer 87]
HS = 4, /// Any class
Any = 255,
}
/// The OPCODE value according to RFC 1035 #[derive(Debug, PartialEq, Eq, Clone, Copy)] pubenum Opcode { /// Normal query
StandardQuery, /// Inverse query (query a name by IP)
InverseQuery, /// Server status request
ServerStatusRequest, /// Reserved opcode for future use
Reserved(u16),
}
quick_error! { /// The RCODE value according to RFC 1035 #[derive(Debug, PartialEq, Eq, Clone, Copy)] #[allow(missing_docs)] // names are from spec pubenum ResponseCode {
NoError
FormatError
ServerFailure
NameError
NotImplemented
Refused
Reserved(code: u8)
}
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.