dnslib

package
Version: v0.0.0-...-1ecaf53 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MAX_CONCURRENCY = 10000000
	CHANNEL_CACHE   = 1000
)

Variables

View Source
var SumChan = make(chan struct{}, MAX_CONCURRENCY)

Functions

This section is empty.

Types

type FakerData

type FakerData struct {
	IPV4 string `faker:"ipv4"`
}

type FakerDataRecordA

type FakerDataRecordA struct {
	DomainName string `faker:"word"`
}

type PtrClient

type PtrClient struct {
	DNSServer string
}

func (*PtrClient) FakerDataRecordA

func (ptr *PtrClient) FakerDataRecordA() (*FakerDataRecordA, error)

func (*PtrClient) RequestA

func (ptr *PtrClient) RequestA(c *dns.Client, domain string)

func (*PtrClient) StressPtr

func (ptr *PtrClient) StressPtr()

func (*PtrClient) StressRecordA

func (ptr *PtrClient) StressRecordA()

Jump to

Keyboard shortcuts

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