#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

#1136 in Parser implementations

Download history 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 11028/week @ 2024-03-20 10179/week @ 2024-03-27 9152/week @ 2024-04-03 11125/week @ 2024-04-10 16030/week @ 2024-04-17 11256/week @ 2024-04-24

49,149 downloads per month
Used in 166 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–345KB