#domain-name #parser #dns

dns-parser

Pure-rust DNS protocol parser library. This does not support network, only raw protocol parser.

16 releases

Uses old Rust 2015

0.8.0 Aug 6, 2018
0.7.1 Oct 22, 2017
0.7.0 May 10, 2017
0.6.0 Dec 1, 2016
0.3.1 Mar 3, 2016

#1434 in Parser implementations

Download history 10475/week @ 2024-07-22 10957/week @ 2024-07-29 12307/week @ 2024-08-05 13580/week @ 2024-08-12 8555/week @ 2024-08-19 9056/week @ 2024-08-26 10372/week @ 2024-09-02 10371/week @ 2024-09-09 9129/week @ 2024-09-16 9548/week @ 2024-09-23 8502/week @ 2024-09-30 9811/week @ 2024-10-07 9784/week @ 2024-10-14 10689/week @ 2024-10-21 10563/week @ 2024-10-28 8636/week @ 2024-11-04

39,977 downloads per month
Used in 164 crates (27 directly)

MIT/Apache

85KB
2K SLoC

DNS Parser

Status: beta

Documentation | Github | Crate

This is a parser of DNS protocol packets that is independent of any networking code.

License

Licensed under either of

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.


lib.rs:

The network-agnostic DNS parser library

Documentation | Github | Crate

Use Builder to create a new outgoing packet.

Use Packet::parse to parse a packet into a data structure.

Dependencies

~125–325KB