#dns #name #parser #domain #domain-name

dns-parser-revived

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

2 unstable releases

new 0.10.0 Jan 10, 2025
0.9.0 Jan 9, 2025

#1186 in Parser implementations

Download history 62/week @ 2025-01-03

64 downloads per month

MIT/Apache

89KB
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