Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrEmptyDNSServer missing dns server ErrEmptyDNSServer = errors.New("dns_server was empty or invalid") )
Functions ¶
This section is empty.
Types ¶
type NS ¶
type NS struct {
// contains filtered or unexported fields
}
NS module for extracting NS related information for a scan group.
func New ¶
New creates a new NS module for identifying zone information via DNS and storing the results in Redis.
func (*NS) Analyze ¶
func (ns *NS) Analyze(ctx context.Context, userContext am.UserContext, address *am.ScanGroupAddress) (*am.ScanGroupAddress, map[string]*am.ScanGroupAddress, error)
Analyze an address, extracts NS, MX, A, AAAA, CNAME records TODO: add error if shutting down so dispatcher can retry
Click to show internal directories.
Click to hide internal directories.