Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CachedAddresses ¶
type GlobalLookupFactory ¶
type GlobalLookupFactory struct { miekg.GlobalLookupFactory IPv4Lookup bool IPv6Lookup bool MXCacheSize int CacheHash *cachehash.CacheHash CHmu sync.Mutex }
Global Factory =============================================================
func (*GlobalLookupFactory) AddFlags ¶
func (s *GlobalLookupFactory) AddFlags(f *flag.FlagSet)
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(threadID int) (zdns.RoutineLookupFactory, error)
type Lookup ¶
type Lookup struct { Factory *RoutineLookupFactory miekg.Lookup }
Per Connection Lookup ======================================================
func (*Lookup) LookupIPs ¶
func (s *Lookup) LookupIPs(name string) (CachedAddresses, []interface{})
type MXRecord ¶
type MXRecord struct { Name string `json:"name" groups:"short,normal,long,trace"` Type string `json:"type" groups:"short,normal,long,trace"` Class string `json:"class" groups:"short,normal,long,trace"` Preference uint16 `json:"preference" 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:"ttl,normal,long,trace"` }
type Result ¶
type Result struct {
Servers []MXRecord `json:"exchanges" 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.