#dns-client #dns-resolver #transport #https #now #mx #srv

yanked dnsie

DNS client written in rust. Desgined to implement DnsOverHttps and other client-side resolvers.

0.1.0 Jan 14, 2020

MIT license

45KB
909 lines

dnsie

documentation

DNSie is rust dns client library. It's goal is to be small, simple, cross platform DNS client library with many implementations of resolvers and transports for DNS packets.

For now the only resolver available is using dns over https.

It implements following DNS types:

  • A
  • AAAA
  • MX
  • CNAME
  • HINFO
  • MINFO
  • SOA
  • PTR
  • SRV
  • TXT
  • NS

Serialization

Records may be serialized with serde if serialize feature is enabled

Testing

Some tests require network in order to work properly. Run cargo test with RUSTFLAGS="--cfg nettest" in order to run tests which require network.

Dependencies

~2.5–6MB
~103K SLoC