Crate dns_cookie

Crate dns_cookie 

Source
Expand description

RFC7873 left the construction of Server Cookies to the discretion of the DNS Server (implementer) which has resulted in a gallimaufry of different implementations. As a result, DNS Cookies are impractical to deploy on multi-vendor anycast networks, because the Server Cookie constructed by one implementation cannot be validated by another.

This crate is an implementation of draft-sury-toorop-dnsop-server-cookies which provides precise directions for creating Server and Client Cookies to address this issue.

Structs§

Client
A 64-bit Client Cookie
Server
A 128-bit Server Cookie

Enums§

Algorithm
Defines what algorithm function to use for calculating the Hash
Error
The errors returned by this crate
Version
Prescribes the structure and Hash calculation formula