Crate dnsclientx[][src]

Expand description

A Small and Flexible DNS Client

The DNS Client has the following features:

  • Resolves IPv4 and IPv6 addresses.
  • Supports reverse lookups of IPv4 and IPv6 addresses.
  • Can lookup a nameserver for a domain.

There are multiple features available and one feature must be chosen:

FeatureDescription
syncSynchronous API
std-asyncAsync API using async-std
smol-asyncAsync API using smol
tokio-asyncAsync API using tokio

Structs

DNSClient

A DNS Client. A simple DNS Client.

Functions

reverse_ip

Reverse an IP address.