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 onasync-fs
for reading files,async-io
for communication with the server, anddns-protocol
for the protocol implementation. - On
cfg(windows)
, it uses theDnsQueryEx
function to make asynchronous queries.
Structs§
- Address
Info - Information about an address.
Functions§
- lookup
- Preform a DNS lookup, retrieving the IP addresses and other necessary information.