3 unstable releases

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

#87 in Asynchronous

Download history 419/week @ 2020-11-02 459/week @ 2020-11-09 689/week @ 2020-11-16 478/week @ 2020-11-23 1102/week @ 2020-11-30 1005/week @ 2020-12-07 934/week @ 2020-12-14 440/week @ 2020-12-21 224/week @ 2020-12-28 1005/week @ 2021-01-04 717/week @ 2021-01-11 732/week @ 2021-01-18 995/week @ 2021-01-25 797/week @ 2021-02-01 1320/week @ 2021-02-08 1098/week @ 2021-02-15

1,707 downloads per month
Used in 2 crates

BSD-3-Clause

1MB
23K 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][https://crates.io/crates/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

~4MB
~72K SLoC