alookup

package
v2.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2025 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ALookupModule

type ALookupModule struct {
	IPv4Lookup bool `long:"ipv4-lookup" description:"perform A lookups for each server"`
	IPv6Lookup bool `long:"ipv6-lookup" description:"perform AAAA lookups for each server"`
	// contains filtered or unexported fields
}

func (*ALookupModule) CLIInit

func (aMod *ALookupModule) CLIInit(gc *cli.CLIConf, resolverConfig *zdns.ResolverConfig) error

CLIInit initializes the ALookupModule with the given parameters, used to call ALOOKUP from the command line

func (*ALookupModule) GetDescription

func (aMod *ALookupModule) GetDescription() string

func (*ALookupModule) Help

func (aMod *ALookupModule) Help() string

func (*ALookupModule) Init

func (aMod *ALookupModule) Init(ipv4Lookup bool, ipv6Lookup bool)

Init initializes the ALookupModule with the given parameters, used to call ALOOKUP programmatically

func (*ALookupModule) Lookup

func (aMod *ALookupModule) Lookup(r *zdns.Resolver, lookupName string, nameServer *zdns.NameServer) (interface{}, zdns.Trace, zdns.Status, error)

func (*ALookupModule) NewFlags

func (aMod *ALookupModule) NewFlags() interface{}

func (*ALookupModule) Validate

func (aMod *ALookupModule) Validate(args []string) error

Jump to

Keyboard shortcuts

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