Enum resolv::ResolverOption
[−]
[src]
pub enum ResolverOption {
Init,
Debug,
AAOnly,
UseVC,
Primary,
IgnTc,
Recurse,
DefNames,
StayOpen,
DNSrch,
Insecure1,
Insecure2,
NoAliases,
UseInet6,
Rotate,
NoCheckName,
KeepTSIG,
Blast,
UseBString,
NoIp6DotInt,
UseEDNS0,
SngLkup,
SngLkupReop,
UseDNSSEC,
NoTLDQuery,
Default,
}Options for the Resolver
Variants
Initaddress initialized
Debugprint debug messages
AAOnlyauthoritative answers only (!IMPL)
UseVCuse virtual circuit
Primaryquery primary server only (!IMPL)
IgnTcignore truncation errors
Recurserecursion desired
DefNamesuse default domain name
StayOpenKeep TCP socket open
DNSrchsearch up local domain tree
Insecure1type 1 security disabled
Insecure2type 2 security disabled
NoAliasesshuts off HOSTALIASES feature
UseInet6use/map IPv6 in gethostbyname()
Rotaterotate ns list after each query
NoCheckNamedo not check names for sanity (!IMPL)
KeepTSIGdo not strip TSIG records
Blastblast all recursive servers
UseBStringIPv6 reverse lookup with byte strings
NoIp6DotIntDo not use .ip6.int in IPv6 reverse lookup
UseEDNS0Use EDNS0.
SngLkupone outstanding request at a time
SngLkupReopone outstanding request at a time, but open new socket for each request
UseDNSSECuse DNSSEC using OK bit in OPT
NoTLDQueryDo not look up unqualified name as a TLD.
DefaultDefault values
Trait Implementations
impl PartialEq for ResolverOption[src]
fn eq(&self, __arg_0: &ResolverOption) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Copy for ResolverOption[src]
impl Clone for ResolverOption[src]
fn clone(&self) -> ResolverOption
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more