Versions in this module Expand all Collapse all v1 v1.1.0 May 30, 2024 Changes in this version type GlobalConf + NSID *dns.EDNS0_NSID v1.0.0 Sep 10, 2023 Changes in this version + var RootServers = [...]string + func DoLookups(g GlobalLookupFactory, c *GlobalConf) error + func GetDNSServers(path string) ([]string, error) + func RegisterLookup(name string, s GlobalLookupFactory) + func Run(gc GlobalConf, flags *pflag.FlagSet, timeout *int, iterationTimeout *int, ...) + func Validlookups() []string + func ValidlookupsString() string + type BaseGlobalLookupFactory struct + GlobalConf *GlobalConf + func (f *BaseGlobalLookupFactory) Finalize() error + func (f *BaseGlobalLookupFactory) Initialize(c *GlobalConf) error + func (f *BaseGlobalLookupFactory) RandomLocalAddr() net.IP + func (f *BaseGlobalLookupFactory) RandomNameServer() string + func (s *BaseGlobalLookupFactory) AllowStdIn() bool + func (s *BaseGlobalLookupFactory) Help() string + func (s *BaseGlobalLookupFactory) SetFlags(f *pflag.FlagSet) + func (s *BaseGlobalLookupFactory) ZonefileInput() bool + type BaseLookup struct + func (base *BaseLookup) DoLookup(name string, class uint16) (interface{}, Status, error) + type GlobalConf struct + AlexaFormat bool + CacheSize int + CheckingDisabled bool + Class uint16 + ClientSubnet *dns.EDNS0_SUBNET + Dnssec bool + GoMaxProcs int + IncludeInOutput string + InputFilePath string + InputHandler InputHandler + IterationTimeout time.Duration + IterativeResolution bool + LocalAddrSpecified bool + LocalAddrs []net.IP + LogFilePath string + LookupAllNameServers bool + MaxDepth int + MetadataFilePath string + MetadataFormat bool + Module string + NameOverride string + NamePrefix string + NameServerInputFormat bool + NameServerMode bool + NameServers []string + NameServersSpecified bool + OutputFilePath string + OutputGroups []string + OutputHandler OutputHandler + PassedName string + RecycleSockets bool + ResultVerbosity string + Retries int + TCPOnly bool + Threads int + TimeFormat string + Timeout time.Duration + UDPOnly bool + Verbosity int + type GlobalLookupFactory interface + AllowStdIn func() bool + Finalize func() error + Help func() string + Initialize func(conf *GlobalConf) error + MakeRoutineFactory func(int) (RoutineLookupFactory, error) + RandomNameServer func() string + SetFlags func(flags *pflag.FlagSet) + ZonefileInput func() bool + func GetLookup(name string) GlobalLookupFactory + type InputHandler interface + FeedChannel func(in chan<- interface{}, wg *sync.WaitGroup) error + type Lookup interface + DoLookup func(name, nameServer string) (interface{}, Trace, Status, error) + type Metadata struct + Conf *GlobalConf + EndTime string + NameServers []string + Names int + Retries int + StartTime string + Status map[string]int + Timeout int + type OutputHandler interface + WriteResults func(results <-chan string, wg *sync.WaitGroup) error + type Result struct + AlexaRank int + AlteredName string + Class string + Data interface{} + Error string + Metadata string + Name string + Nameserver string + Status string + Timestamp string + Trace []interface{} + type RoutineLookupFactory interface + MakeLookup func() (Lookup, error) + type Status string + const STATUS_AUTHFAIL + const STATUS_BLACKLIST + const STATUS_ERROR + const STATUS_FORMERR + const STATUS_ILLEGAL_INPUT + const STATUS_ITER_TIMEOUT + const STATUS_NOAUTH + const STATUS_NODATA + const STATUS_NOERROR + const STATUS_NOTIMP + const STATUS_NO_ANSWER + const STATUS_NO_OUTPUT + const STATUS_NO_RECORD + const STATUS_NXDOMAIN + const STATUS_REFUSED + const STATUS_SERVFAIL + const STATUS_TEMPORARY + const STATUS_TIMEOUT + const STATUS_TRUNCATED + type TargetedDomain struct + Domain string + Nameservers []string + type Trace []interface