[](https://crates.io/crates/dns-codec) [](https://docs.rs/dns-codec)

dns-codec provides functions to encode and decode arbitrary data `&[u8]` to and from legal DNS names using a mostly
base-38 encoding (including '.' and '-' where permitted).
`dns-codec` is licensed under the General Public License 3.0. Please see `LICENSE` for details.