responder

package
v0.0.0-...-b188132 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2018 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StatsQueryTotal = "resolver:queries:total"
	StatsQueryUDP   = "resolver:queries:udp"
	StatsQueryTCP   = "resolver:queries:tcp"
	StatsQueryTLS   = "resolver:queries:tls"
	/// will fine tune the definition of failure
	StatsQueryFailure    = "resolver:queries:failed"
	StatsQueryLimitedIps = "resolver:queries:limited_ips"
	StatsQueryUniqueIps  = "resolver:queries:remote_ips"
)

Variables

This section is empty.

Functions

func AuthoritativeDNSServer

func AuthoritativeDNSServer(cfg runtime.AuthorityConfig, rt *runtime.Runtime, v4 bool, net string, d *runtime.ServerDomain)

func EnsureLogDir

func EnsureLogDir()

func GetLogDir

func GetLogDir() string

func ServeDNS

func ServeDNS(cfg runtime.RecursorConfig, rt *runtime.Runtime, v4 bool, net string, d *runtime.ServerDomain, opennicMode bool, dnssecMode bool)

func SnitchDNSServer

func SnitchDNSServer(cfg runtime.NSnitchConfig, rt *runtime.Runtime, v4 bool, net string, d *runtime.ServerDomain)

func SnitchHTTPServer

func SnitchHTTPServer(cfg runtime.NSnitchConfig, rt *runtime.Runtime, v4 bool, net string, d *runtime.ServerDomain)

Types

type DomainCache

type DomainCache struct {
	CoT bool
	TTL uint32
}

/ Cache primitives / Solves problems: / - cache multiplication (ttl should not be part of the search key!) / - save PTR IP in reverse order (correctly)

type ExchangeHistory

type ExchangeHistory []*ExchangeHistoryItem

func (*ExchangeHistory) Add

func (ExchangeHistory) String

func (h ExchangeHistory) String() (s string)

type ExchangeHistoryItem

type ExchangeHistoryItem struct {
	// contains filtered or unexported fields
}

type StackAddedPanic

type StackAddedPanic struct {
	// contains filtered or unexported fields
}

func (*StackAddedPanic) String

func (s *StackAddedPanic) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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