#dns #parser #domain-name #packet-parser #protocols #networking #dns-name

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

#878 in Parser implementations

Download history 6653/week @ 2023-11-20 8250/week @ 2023-11-27 7369/week @ 2023-12-04 10290/week @ 2023-12-11 9862/week @ 2023-12-18 4947/week @ 2023-12-25 7073/week @ 2024-01-01 9880/week @ 2024-01-08 12266/week @ 2024-01-15 13742/week @ 2024-01-22 20026/week @ 2024-01-29 14506/week @ 2024-02-05 15647/week @ 2024-02-12 9244/week @ 2024-02-19 9600/week @ 2024-02-26 10805/week @ 2024-03-04

45,746 downloads per month
Used in 170 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