NLnetLabs / domain

A DNS library for Rust.

Home Page:https://nlnetlabs.nl/projects/domain/about/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adjust Serde serialization to match RFC 8427

partim opened this issue · comments

RFC 8427 defines a JSON representations for DNS messages and their components. We already have some Serde serialization in domain, but it isn’t quite complete and doesn’t always match the definition in the RFC.

Adjust what’s there already and a add what’s missing so that all serialization follows the representation defined by the RFC.

The format defined by RFC 8427 is much more generic than what I had in mind, so I’m closing this for now.