#domain-name #dns #parser

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

#1366 in Parser implementations

Download history 13296/week @ 2024-06-07 12636/week @ 2024-06-14 9456/week @ 2024-06-21 9371/week @ 2024-06-28 10096/week @ 2024-07-05 11313/week @ 2024-07-12 11047/week @ 2024-07-19 10953/week @ 2024-07-26 12675/week @ 2024-08-02 13546/week @ 2024-08-09 9198/week @ 2024-08-16 8529/week @ 2024-08-23 9521/week @ 2024-08-30 10741/week @ 2024-09-06 9803/week @ 2024-09-13 7487/week @ 2024-09-20

39,103 downloads per month
Used in 161 crates (26 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