mirror of
https://github.com/NLnetLabs/domain.git
synced 2026-09-30 21:54:58 +02:00
500930e68d6d2fff591fb4c7df96d594f5dc12b3
This PR fixes scanning (i.e., reading from presentation format) of domain names that are just the root label. It also fixes how they are displayed: previously they were empty, now they are displayed as a dot. It also adds a new method Dname::fmt_with_dot that returns a placeholder type that displays the name with a dot at the end.
domain – A DNS library for Rust
A library for interacting with the Domain Name System. The crate contains an ever-growing set of building blocks for including DNS functionality in applications.
Currently, these blocks include:
- basic data structures and functionality for creating and parsing DNS data and messages,
- support for signing and verifying messages using the TSIG mechanism,
- experimental support for reading data from DNS master files (also known as zone files),
- experimental and as yet incomplete support for DNSSEC signing and validation,
- a simple Tokio-based stub resolver.
If you have ideas, requests, or proposals for future features, pleased don’t hesitate to open Github issues.
Licensing
The domain crate is distributed under the terms of the BSD-3-clause license. See the LICENSE file for details.
Languages
Rust
100%