Documentation ¶ Index ¶ type Type func Classify(m *dns.Msg) (Type, *dns.OPT) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Type ¶ type Type int const ( Success Type = iota NameError // NXDOMAIN in header, SOA in auth. NoData // NOERROR in header, SOA in auth. Delegation // NOERROR in header, NS in auth, optionally fluff in additional (not checked). OtherError // Don't cache these. ) func Classify ¶ func Classify(m *dns.Msg) (Type, *dns.OPT) Classify classifies a message, it returns the Type. Source Files ¶ View all Source files classify.go Click to show internal directories. Click to hide internal directories.