Documentation ¶
Index ¶
- func LookupHelper(domain string, nsIPs []string, lookup *alookup.Lookup) (interface{}, zdns.Status, error)
- type CallbackManager
- type GlobalLookupFactory
- func (s *GlobalLookupFactory) AddFlags(f *flag.FlagSet)
- func (s *GlobalLookupFactory) AllowStdIn() bool
- func (s *GlobalLookupFactory) Finalize() error
- func (s *GlobalLookupFactory) Help() string
- func (s *GlobalLookupFactory) Initialize(c *zdns.GlobalConf) error
- func (s *GlobalLookupFactory) MakeRoutineFactory() (zdns.RoutineLookupFactory, error)
- func (s *GlobalLookupFactory) ParseGlue(glueFile string) error
- func (s *GlobalLookupFactory) ZonefileInput() bool
- type Lookup
- type RoutineLookupFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CallbackManager ¶
type CallbackManager struct { Conf *zdns.GlobalConf OutputFile *os.File }
func (*CallbackManager) Evict ¶
func (c *CallbackManager) Evict(key, value interface{})
type GlobalLookupFactory ¶
type GlobalLookupFactory struct { zdns.BaseGlobalLookupFactory Glue *map[string][]string GlueLock sync.RWMutex Subfactory alookup.GlobalLookupFactory CacheFactor int CacheHash *cachehash.CacheHash CHmu sync.Mutex Manager CallbackManager }
Global Factory =============================================================
func (*GlobalLookupFactory) AddFlags ¶
func (s *GlobalLookupFactory) AddFlags(f *flag.FlagSet)
func (*GlobalLookupFactory) AllowStdIn ¶
func (s *GlobalLookupFactory) AllowStdIn() bool
func (*GlobalLookupFactory) Finalize ¶
func (s *GlobalLookupFactory) Finalize() error
func (*GlobalLookupFactory) Help ¶
func (s *GlobalLookupFactory) Help() string
Command-line Help Documentation. This is the descriptive text what is returned when you run zdns module --help
func (*GlobalLookupFactory) Initialize ¶
func (s *GlobalLookupFactory) Initialize(c *zdns.GlobalConf) error
func (*GlobalLookupFactory) MakeRoutineFactory ¶
func (s *GlobalLookupFactory) MakeRoutineFactory() (zdns.RoutineLookupFactory, error)
func (*GlobalLookupFactory) ParseGlue ¶
func (s *GlobalLookupFactory) ParseGlue(glueFile string) error
func (*GlobalLookupFactory) ZonefileInput ¶
func (s *GlobalLookupFactory) ZonefileInput() bool
type Lookup ¶
type Lookup struct { Factory *RoutineLookupFactory miekg.Lookup }
Per Connection Lookup ======================================================
func (*Lookup) DoZonefileLookup ¶
Lookup is an attempt to perform ALOOKUP directly from a domain nameserver. It completes once a single result comes back, and will attempt lookups of nameservers' IPs when no glue record was present.
type RoutineLookupFactory ¶
type RoutineLookupFactory struct { miekg.RoutineLookupFactory Factory *GlobalLookupFactory Subfactory zdns.RoutineLookupFactory }
Per GoRoutine Factory ======================================================
func (*RoutineLookupFactory) MakeLookup ¶
func (s *RoutineLookupFactory) MakeLookup() (zdns.Lookup, error)
Click to show internal directories.
Click to hide internal directories.