Expand description

Asynchronous DNS lookups.

This crate provides asynchronous DNS lookups. It uses the following mechanisms to resolve hostnames:

  • On cfg(unix), it uses a custom implementation based on async-fs for reading files, async-io for communication with the server, and dns-protocol for the protocol implementation.
  • On cfg(windows), it uses the DnsQueryEx function to make asynchronous queries.

Structs

Information about an address.

Functions

Preform a DNS lookup, retrieving the IP addresses and other necessary information.