[![](https://img.shields.io/crates/v/dns-codec.svg)](https://crates.io/crates/dns-codec) [![Docs](https://docs.rs/dns-codec/badge.svg)](https://docs.rs/dns-codec)
![logo.webp](./doc/logo.webp)
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.