bindversion

package
v2.0.5 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2025 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

View Source
const (
	BindVersionQueryName = "VERSION.BIND"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BindVersionLookupModule

type BindVersionLookupModule struct {
	cli.BasicLookupModule
}

func (*BindVersionLookupModule) CLIInit

func (bindVersionMod *BindVersionLookupModule) CLIInit(gc *cli.CLIConf, rc *zdns.ResolverConfig) error

CLIInit initializes the BindVersion lookup module

func (*BindVersionLookupModule) GetDescription

func (bindVersionMod *BindVersionLookupModule) GetDescription() string

func (*BindVersionLookupModule) Help

func (bindVersionMod *BindVersionLookupModule) Help() string

func (*BindVersionLookupModule) Lookup

func (bindVersionMod *BindVersionLookupModule) Lookup(ctx context.Context, r *zdns.Resolver, lookupName string, nameServer *zdns.NameServer) (interface{}, zdns.Trace, zdns.Status, error)

func (*BindVersionLookupModule) NewFlags

func (bindVersionMod *BindVersionLookupModule) NewFlags() interface{}

func (*BindVersionLookupModule) Validate

func (bindVersionMod *BindVersionLookupModule) Validate(args []string) error

type Result

type Result struct {
	BindVersion string `json:"version,omitempty" groups:"short,normal,long,trace"`
	Resolver    string `json:"resolver" groups:"resolver,short,normal,long,trace"`
}

result to be returned by scan of host

Jump to

Keyboard shortcuts

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