Struct c_ares_resolver::FutureResolver [] [src]

pub struct FutureResolver { /* fields omitted */ }

An asynchronous DNS resolver, which returns results as futures::Futures.

Methods

impl FutureResolver
[src]

Create a new FutureResolver, using default Options.

Create a new FutureResolver, with the given Options.

Set the list of servers to contact, instead of the servers specified in resolv.conf or the local named.

String format is host[:port]. IPv6 addresses with ports require square brackets eg [2001:4860:4860::8888]:53.

Set the local IPv4 address from which to make queries.

Set the local IPv6 address from which to make queries.

Set the local device from which to make queries.

Look up the A records associated with name.

Search for the A records associated with name.

Look up the AAAA records associated with name.

Search for the AAAA records associated with name.

Look up the CNAME records associated with name.

Search for the CNAME records associated with name.

Look up the MX records associated with name.

Search for the MX records associated with name.

Look up the NAPTR records associated with name.

Search for the NAPTR records associated with name.

Look up the NS records associated with name.

Search for the NS records associated with name.

Look up the PTR records associated with name.

Search for the PTR records associated with name.

Look up the SOA records associated with name.

Search for the SOA records associated with name.

Look up the SRV records associated with name.

Search for the SRV records associated with name.

Look up the TXT records associated with name.

Search for the TXT records associated with name.

Cancel all requests made on this FutureResolver.