response

package
v0.0.0-...-a8fb01b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2016 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL