- rDNS: support multiple Answer records
This commit is contained in:
parent
0a09c7eb4d
commit
56a0c9684b
|
@ -114,7 +114,7 @@ func (r *RDNS) resolve(ip string) string {
|
|||
log.Debug("Error while making an rDNS lookup for %s: %s", ip, err)
|
||||
return ""
|
||||
}
|
||||
if len(resp.Answer) != 1 {
|
||||
if len(resp.Answer) == 0 {
|
||||
log.Debug("No answer for rDNS lookup of %s", ip)
|
||||
return ""
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue