Crate dns_cookie[][src]

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

A 64-bit Client Cookie

A 128-bit Server Cookie

Enums

Defines what algorithm function to use for calculating the Hash

The errors returned by this crate

Prescribes the structure and Hash calculation formula