Enum resolv::ResolverOption [] [src]

#[repr(u64)]
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

address initialized

print debug messages

authoritative answers only (!IMPL)

use virtual circuit

query primary server only (!IMPL)

ignore truncation errors

recursion desired

use default domain name

Keep TCP socket open

search up local domain tree

type 1 security disabled

type 2 security disabled

shuts off HOSTALIASES feature

use/map IPv6 in gethostbyname()

rotate ns list after each query

do not check names for sanity (!IMPL)

do not strip TSIG records

blast all recursive servers

IPv6 reverse lookup with byte strings

Do not use .ip6.int in IPv6 reverse lookup

Use EDNS0.

one outstanding request at a time

one outstanding request at a time, but open new socket for each request

use DNSSEC using OK bit in OPT

Do not look up unqualified name as a TLD.

Default values

Trait Implementations

impl Debug for ResolverOption
[src]

Formats the value using the given formatter.

impl Clone for ResolverOption
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ResolverOption
[src]

impl PartialEq for ResolverOption
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.