Versions in this module Expand all Collapse all v0 v0.2.0 May 30, 2024 v0.1.0 May 29, 2024 Changes in this version + func ClassMapping(class dnsmessage.Class) string + func OpCodeMapping(code dnsmessage.OpCode) string + func StatusMapping(code dnsmessage.RCode) string + func TypeMapping(dt dnsmessage.Type) string + type Additional struct + Class string + Name string + Record string + Type string + type Answer struct + Class string + Name string + Record string + TTL uint32 + Type string + type Authority struct + Class string + Name string + Record string + Type string + type Header struct + ID uint16 + OpCode string + Response bool + Status string + type Message struct + AdditionalSec []Additional + AnswerSec []Answer + AuthoritySec []Authority + Header Header + QuestionSec Question + func Decode(b []byte) (*Message, error) + type Question struct + Name string + Type string