Crate goatns

source ·
Expand description

Goats are cool, but they make for poor DNS record stores. So here’s an authoritative DNS server INSPIRED by goats.

Modules

Macros

Structs

  • The header of a DNS transmission, either a Query or Reply. Ref RFC1035 section 4.1.1.
  • A DNS Question section, from Ref RFC1035 section 4.1.2 “Question section format”.
  • The answer, authority, and additional sections all share the same format: a variable number of resource records, where the number of records is specified in the corresponding count field in the header.

Constants

Functions

  • Returns a Vec<u8> representation of the name (ie, example.com = [101, 120, 97, 109, 112, 108, 101, 46, 99, 111, 109])