Enum c_ares_sys::ares_dns_rec_type_t
source · #[repr(u32)]pub enum ares_dns_rec_type_t {
Show 20 variants
ARES_REC_TYPE_A = 1,
ARES_REC_TYPE_NS = 2,
ARES_REC_TYPE_CNAME = 5,
ARES_REC_TYPE_SOA = 6,
ARES_REC_TYPE_PTR = 12,
ARES_REC_TYPE_HINFO = 13,
ARES_REC_TYPE_MX = 15,
ARES_REC_TYPE_TXT = 16,
ARES_REC_TYPE_SIG = 24,
ARES_REC_TYPE_AAAA = 28,
ARES_REC_TYPE_SRV = 33,
ARES_REC_TYPE_NAPTR = 35,
ARES_REC_TYPE_OPT = 41,
ARES_REC_TYPE_TLSA = 52,
ARES_REC_TYPE_SVCB = 64,
ARES_REC_TYPE_HTTPS = 65,
ARES_REC_TYPE_ANY = 255,
ARES_REC_TYPE_URI = 256,
ARES_REC_TYPE_CAA = 257,
ARES_REC_TYPE_RAW_RR = 65_536,
}
Expand description
DNS Record types handled by c-ares. Some record types may only be valid on requests (e.g. ARES_REC_TYPE_ANY), and some may only be valid on responses
Variants§
ARES_REC_TYPE_A = 1
< Host address.
ARES_REC_TYPE_NS = 2
< Authoritative server.
ARES_REC_TYPE_CNAME = 5
< Canonical name.
ARES_REC_TYPE_SOA = 6
< Start of authority zone.
ARES_REC_TYPE_PTR = 12
< Domain name pointer.
ARES_REC_TYPE_HINFO = 13
< Host information.
ARES_REC_TYPE_MX = 15
< Mail routing information.
ARES_REC_TYPE_TXT = 16
< Text strings.
ARES_REC_TYPE_SIG = 24
< RFC 2535 / RFC 2931. SIG Record
ARES_REC_TYPE_AAAA = 28
< RFC 3596. Ip6 Address.
ARES_REC_TYPE_SRV = 33
< RFC 2782. Server Selection.
ARES_REC_TYPE_NAPTR = 35
< RFC 3403. Naming Authority Pointer
ARES_REC_TYPE_OPT = 41
< RFC 6891. EDNS0 option (meta-RR)
ARES_REC_TYPE_TLSA = 52
< RFC 6698. DNS-Based Authentication of Named Entities (DANE) Transport Layer Security (TLS) Protocol: TLSA
ARES_REC_TYPE_SVCB = 64
< RFC 9460. General Purpose Service Binding
ARES_REC_TYPE_HTTPS = 65
< RFC 9460. Service Binding type for use with HTTPS
ARES_REC_TYPE_ANY = 255
< Wildcard match. Not response RR.
ARES_REC_TYPE_URI = 256
< RFC 7553. Uniform Resource Identifier
ARES_REC_TYPE_CAA = 257
< RFC 6844. Certification Authority Authorization.
ARES_REC_TYPE_RAW_RR = 65_536
< Used as an indicator that the RR record is not parsed, but provided in wire format
Trait Implementations§
source§impl Clone for ares_dns_rec_type_t
impl Clone for ares_dns_rec_type_t
source§fn clone(&self) -> ares_dns_rec_type_t
fn clone(&self) -> ares_dns_rec_type_t
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ares_dns_rec_type_t
impl Debug for ares_dns_rec_type_t
source§impl Hash for ares_dns_rec_type_t
impl Hash for ares_dns_rec_type_t
source§impl PartialEq for ares_dns_rec_type_t
impl PartialEq for ares_dns_rec_type_t
source§fn eq(&self, other: &ares_dns_rec_type_t) -> bool
fn eq(&self, other: &ares_dns_rec_type_t) -> bool
self
and other
values to be equal, and is used
by ==
.