Enum c_ares_sys::ares_dns_rcode_t
source · #[repr(u32)]pub enum ares_dns_rcode_t {
Show 20 variants
ARES_RCODE_NOERROR = 0,
ARES_RCODE_FORMERR = 1,
ARES_RCODE_SERVFAIL = 2,
ARES_RCODE_NXDOMAIN = 3,
ARES_RCODE_NOTIMP = 4,
ARES_RCODE_REFUSED = 5,
ARES_RCODE_YXDOMAIN = 6,
ARES_RCODE_YXRRSET = 7,
ARES_RCODE_NXRRSET = 8,
ARES_RCODE_NOTAUTH = 9,
ARES_RCODE_NOTZONE = 10,
ARES_RCODE_DSOTYPEI = 11,
ARES_RCODE_BADSIG = 16,
ARES_RCODE_BADKEY = 17,
ARES_RCODE_BADTIME = 18,
ARES_RCODE_BADMODE = 19,
ARES_RCODE_BADNAME = 20,
ARES_RCODE_BADALG = 21,
ARES_RCODE_BADTRUNC = 22,
ARES_RCODE_BADCOOKIE = 23,
}
Expand description
DNS Response Codes from server
Variants§
ARES_RCODE_NOERROR = 0
< Success
ARES_RCODE_FORMERR = 1
< Format error. The name server was unable to interpret the query.
ARES_RCODE_SERVFAIL = 2
< Server Failure. The name server was unable to process this query due to a problem with the nameserver
ARES_RCODE_NXDOMAIN = 3
< Name Error. Meaningful only for responses from an authoritative name server, this code signifies that the domain name referenced in the query does not exist.
ARES_RCODE_NOTIMP = 4
< Not implemented. The name server does not support the requested kind of query
ARES_RCODE_REFUSED = 5
< Refused. The name server refuses to perform the specified operation for policy reasons.
ARES_RCODE_YXDOMAIN = 6
< RFC 2136. Some name that ought not to exist, does exist.
ARES_RCODE_YXRRSET = 7
< RFC 2136. Some RRset that ought to not exist, does exist.
ARES_RCODE_NXRRSET = 8
< RFC 2136. Some RRset that ought to exist, does not exist.
ARES_RCODE_NOTAUTH = 9
< RFC 2136. The server is not authoritative for the zone named in the Zone section.
ARES_RCODE_NOTZONE = 10
< RFC 2136. A name used in the Prerequisite or Update Section is not within the zone denoted by the Zone Section.
ARES_RCODE_DSOTYPEI = 11
< RFC 8409. DSO-TYPE Not implemented
ARES_RCODE_BADSIG = 16
< RFC 8945. TSIG Signature Failure
ARES_RCODE_BADKEY = 17
< RFC 8945. Key not recognized.
ARES_RCODE_BADTIME = 18
< RFC 8945. Signature out of time window.
ARES_RCODE_BADMODE = 19
< RFC 2930. Bad TKEY Mode
ARES_RCODE_BADNAME = 20
< RFC 2930. Duplicate Key Name
ARES_RCODE_BADALG = 21
< RFC 2930. Algorithm not supported
ARES_RCODE_BADTRUNC = 22
< RFC 8945. Bad Truncation
ARES_RCODE_BADCOOKIE = 23
< RVC 7973. Bad/missing Server Cookie
Trait Implementations§
source§impl Clone for ares_dns_rcode_t
impl Clone for ares_dns_rcode_t
source§fn clone(&self) -> ares_dns_rcode_t
fn clone(&self) -> ares_dns_rcode_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_rcode_t
impl Debug for ares_dns_rcode_t
source§impl Hash for ares_dns_rcode_t
impl Hash for ares_dns_rcode_t
source§impl PartialEq for ares_dns_rcode_t
impl PartialEq for ares_dns_rcode_t
source§fn eq(&self, other: &ares_dns_rcode_t) -> bool
fn eq(&self, other: &ares_dns_rcode_t) -> bool
self
and other
values to be equal, and is used
by ==
.