Module domain::resolv::lookup [] [src]

Lookup functions and related types.

This module collects a number of more or less complex lookups that implement applications of the DNS.

Structs

LookupAddr

The success type of the lookup_addr() function.

LookupAddrIter

An iterator over host names returned by address lookup.

LookupHost

The value returned by a successful host lookup.

LookupHostIter

An iterator over the IP addresses returned by a host lookup.

LookupHostSocketIter

An iterator over socket addresses derived from a host lookup.

Functions

lookup_addr

Creates a future that resolves into the host names for an IP address.

lookup_host

Creates a future that resolves a host name into its IP addresses.

lookup_records

Creates a future that looks up DNS records.