nsstats

package
v0.0.0-...-39d52a8 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2017 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InTld                statsType = 0
	InTldNoGlue          statsType = 1
	InTldNoGlueNoIp      statsType = 2
	InTldGlue            statsType = 3
	InTldGlueNoIp        statsType = 4
	InTldGlueIp          statsType = 5
	InTldGlueIpMissmatch statsType = 6
	ExTld                statsType = 7
	ExTldNoIp            statsType = 8

	IpEdns0        statsType = 21
	IpNoEdns0      statsType = 22
	IpNsid         statsType = 23
	IpNoNsid       statsType = 24
	IpDnscookies   statsType = 25
	IpNoDnscookies statsType = 26
)
View Source
const STATS_SIZE = 30

Variables

This section is empty.

Functions

This section is empty.

Types

type Nsstat

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

func Init

func Init(origin string, resolver *dnsresolver.Resolver) *Nsstat

func (*Nsstat) Done

func (self *Nsstat) Done()

func (*Nsstat) GetIPs

func (self *Nsstat) GetIPs(host *hostlist.Host, wg *sync.WaitGroup)

func (*Nsstat) HostStats

func (self *Nsstat) HostStats()

func (*Nsstat) Influx

func (self *Nsstat) Influx(tld string, source string) string

func (*Nsstat) IpStats

func (self *Nsstat) IpStats()

func (*Nsstat) Receive

func (self *Nsstat) Receive(rr dns.RR, wg *sync.WaitGroup)

Jump to

Keyboard shortcuts

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