3 unstable releases

0.5.1 Aug 25, 2020
0.5.0 Apr 3, 2020
0.4.0 Jan 30, 2019

#44 in #mail-server

33 downloads per month
Used in ipfs

BSD-3-Clause

3MB
62K SLoC

A DNS library for Rust – Asynchronous Stub Resolver

Current Documentation

This crate provides a modern stub resolver using Tokio.

Please note that this crate will be merged as a module into the domain crate very soon.

Features

Eventually, the stub resolver will provide the following functionality:

  • asynchronous stub resolver based on Tokio 0.1

    • unencrypted connections via UDP and TCP,

    • encrypted connections via DNS-over-TLS,

    • encrypted connections via DNS-over-HTTP,

  • rich set of queries:

    • querying for raw DNS records,

    • querying for IPv4 and IPv6 addresses,

      • priority according to ‘happy eyeballs,’
    • querying for host names associated with IPv4 and IPv6 addresses,

    • querying for mail servers,

      • pure MX records,

      • IPv4 and IPv6 addresses of the mail server,

      • TLSA, SPF, DKIM, DMARC records,

    • querying for servers via SRV records,

      • pure SRV records,

      • IPv4 and IPv6 addresses of the servers,

      • TLSA records of the servers,

Contributing

If you have comments, proposed changes, or would like to contribute, please open an issue.

Licensing

domain-resolv is distributed under the terms of the BSD-3-clause license. See LICENSE for details.

Dependencies

~7MB
~110K SLoC