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-fsfor reading files,async-iofor communication with the server, anddns-protocolfor the protocol implementation. - On
cfg(windows), it uses theDnsQueryExfunction 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.