#dns #parser #domain-name #name #domain #packet-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

#1051 in Parser implementations

Download history 10336/week @ 2023-12-13 7012/week @ 2023-12-20 5549/week @ 2023-12-27 8654/week @ 2024-01-03 9860/week @ 2024-01-10 14803/week @ 2024-01-17 13705/week @ 2024-01-24 17157/week @ 2024-01-31 16623/week @ 2024-02-07 13898/week @ 2024-02-14 9597/week @ 2024-02-21 9875/week @ 2024-02-28 10106/week @ 2024-03-06 8171/week @ 2024-03-13 11039/week @ 2024-03-20 8635/week @ 2024-03-27

39,953 downloads per month
Used in 167 crates (24 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

~135–340KB