Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Result ¶
type Result struct { // Blacklist is the DNSBL server that gave this result Blacklist string // Address is the IP address that was searched Address string // Listed indicates whether or not the IP was on the RBL Listed bool // RBL lists sometimes add extra information as a TXT record // if any info is present, it will be stored here. Text string // Error represents any error that was encountered (DNS timeout, host not // found, etc.) if any Error bool // ErrorType is the type of error encountered if any ErrorType error }
Result holds the individual IP lookup results for each RBL search
type ResultList ¶
func Lookup ¶
func Lookup(dnsblList []string, targetHost string) (r ResultList)
Click to show internal directories.
Click to hide internal directories.