Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LocalAddr net.Addr
Functions ¶
Types ¶
type DNSAnswer ¶
type DNSAnswer struct {
Name string `json:"name"`
Type int `json:"type"`
TTL int `json:"TTL"`
Data string `json:"data"`
}
DNSAnswer is the type used by Amass to represent a DNS record.
type DNSRequest ¶
type DNSRequest struct {
Name string
Domain string
Ip string
Records []DNSAnswer
Tag string
Source string
}
DNSRequest handles data needed throughout Service processing of a DNS name.
func ZoneTransfer ¶
func ZoneTransfer(sub, domain, server string) ([]*DNSRequest, error)
ZoneTransfer attempts a DNS zone transfer using the provided server. The returned slice contains all the records discovered from the zone transfer.
Click to show internal directories.
Click to hide internal directories.