3 unstable releases

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

#29 in #mail-server

Download history 16/week @ 2024-03-11 1/week @ 2024-03-18 4/week @ 2024-03-25 99/week @ 2024-04-01 8/week @ 2024-04-08 5/week @ 2024-04-22 1/week @ 2024-05-27 30/week @ 2024-06-03 11/week @ 2024-06-10 7/week @ 2024-06-17 16/week @ 2024-06-24

64 downloads per month
Used in ipfs

BSD-3-Clause

2.5MB
50K 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

~6.5MB
~117K SLoC