Documentation
¶
Index ¶
- type AXFRResult
- type AXFRServerResult
- type AxfrLookupModule
- func (axfrMod *AxfrLookupModule) CLIInit(gc *cli.CLIConf, rc *zdns.ResolverConfig) error
- func (axfrMod *AxfrLookupModule) GetDescription() string
- func (axfrMod *AxfrLookupModule) Help() string
- func (axfrMod *AxfrLookupModule) Lookup(ctx context.Context, resolver *zdns.Resolver, name string, ...) (interface{}, zdns.Trace, zdns.Status, error)
- func (axfrMod *AxfrLookupModule) NewFlags() interface{}
- func (axfrMod *AxfrLookupModule) Validate(args []string) error
- type RealTransferFactory
- type TransferFactory
- type TransferInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AXFRResult ¶
type AXFRResult struct {
Servers []AXFRServerResult `json:"servers,omitempty" groups:"short,normal,long,trace"`
}
type AXFRServerResult ¶
type AxfrLookupModule ¶
type AxfrLookupModule struct {
cli.BasicLookupModule
NSModule nslookup.NSLookupModule
BlacklistPath string `long:"blacklist-file" description:"path to blacklist file" default:""`
Blacklist *safeblacklist.SafeBlacklist
TransferFact TransferFactory
}
func (*AxfrLookupModule) CLIInit ¶
func (axfrMod *AxfrLookupModule) CLIInit(gc *cli.CLIConf, rc *zdns.ResolverConfig) error
CLIInit initializes the AxfrLookupModule with the given parameters, used to call AXFR from the command line
func (*AxfrLookupModule) GetDescription ¶
func (axfrMod *AxfrLookupModule) GetDescription() string
func (*AxfrLookupModule) Help ¶
func (axfrMod *AxfrLookupModule) Help() string
func (*AxfrLookupModule) NewFlags ¶
func (axfrMod *AxfrLookupModule) NewFlags() interface{}
func (*AxfrLookupModule) Validate ¶
func (axfrMod *AxfrLookupModule) Validate(args []string) error
type RealTransferFactory ¶
type RealTransferFactory struct{}
func (*RealTransferFactory) NewTransfer ¶
func (f *RealTransferFactory) NewTransfer() TransferInterface
type TransferFactory ¶
type TransferFactory interface {
NewTransfer() TransferInterface
}
TransferFactory each AXFR module isn't thread-safe, so we need to create a new Transfer object for each AXFR lookup
Click to show internal directories.
Click to hide internal directories.