Martin HoffmannandGitHub 7a0819dc90 Fix TXT record serialization. (#272)
This PR fixes TXT record data serialization for human-readable formats. TXT
record data is now serialized as a sequence of character strings. It also
deserializes from such a sequence. If supported by the format, it
alternatively deserializes from a string that is broken up into 255 octet
chunks if necessary.

It uses a newly added helper type base::charstr::DeserializeCharStrSeed that
deserializes character strings by appending them to an octets builder. Since
this may be useful for other cases, it has been made public.

This is a breaking change.
2024-03-18 12:44:11 +01:00
2024-02-27 12:59:19 +01:00
2024-03-12 10:32:21 +01:00
2024-03-18 12:44:11 +01:00
2024-03-12 10:32:21 +01:00
2024-03-14 15:07:37 +01:00
2016-01-26 12:57:02 +01:00
2024-03-14 16:20:17 +01:00
2024-01-25 11:34:27 +01:00

domain – A DNS library for Rust

Current Documentation Mastodon Follow

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, please 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.

S
Description
No description provided
Readme BSD-3-Clause
17 MiB
Languages
Rust 100%