Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GlobalLookupFactory ¶
type GlobalLookupFactory struct { miekg.GlobalLookupFactory IPv4Lookup bool IPv6Lookup bool }
Global Factory =============================================================
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) MakeRoutineFactory ¶
func (s *GlobalLookupFactory) MakeRoutineFactory(threadID int) (zdns.RoutineLookupFactory, error)
func (*GlobalLookupFactory) SetFlags ¶
func (s *GlobalLookupFactory) SetFlags(f *pflag.FlagSet)
type IpAddresses ¶
type Lookup ¶
type Lookup struct { Factory *RoutineLookupFactory miekg.Lookup }
Per Connection Lookup ======================================================
type LookupClient ¶
type LookupClient struct{}
This LookupClient is created to call the actual implementation of DoMiekgLookup
type NSRecord ¶
type NSRecord struct { Name string `json:"name" groups:"short,normal,long,trace"` Type string `json:"type" groups:"short,normal,long,trace"` IPv4Addresses []string `json:"ipv4_addresses,omitempty" groups:"short,normal,long,trace"` IPv6Addresses []string `json:"ipv6_addresses,omitempty" groups:"short,normal,long,trace"` TTL uint32 `json:"ttl" groups:"normal,long,trace"` }
type Result ¶
type Result struct {
Servers []NSRecord `json:"servers,omitempty" groups:"short,normal,long,trace"`
}
type RoutineLookupFactory ¶
type RoutineLookupFactory struct { miekg.RoutineLookupFactory Factory *GlobalLookupFactory }
Per GoRoutine Factory ======================================================
func (*RoutineLookupFactory) MakeLookup ¶
func (s *RoutineLookupFactory) MakeLookup() (zdns.Lookup, error)
Click to show internal directories.
Click to hide internal directories.