Merge: - rDNS: support multiple Answer records
Close #1230 * commit '56a0c9684bfdb8bebbeea5eb94192a215d8d45a1': - rDNS: support multiple Answer records
This commit is contained in:
commit
b6b26c0681
|
@ -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