Add warning when DNSLookupTimeout is reach. Thanks to gitdevmod for the report.
This commit is contained in:
parent
410e36aac2
commit
f206dbde83
|
@ -1779,7 +1779,9 @@ sub _gethostbyaddr
|
|||
};
|
||||
if ($@) {
|
||||
$CACHE{$ip} = undef;
|
||||
#printf "_gethostbyaddr timeout : %s\n", $ip;
|
||||
if (!$self->{QuietMode}) {
|
||||
warn "_gethostbyaddr timeout reach for ip: $ip, timeout can be adjusted with directive DNSLookupTimeout\n";
|
||||
}
|
||||
}
|
||||
else {
|
||||
$CACHE{$ip} = $host;
|
||||
|
|
Loading…
Reference in New Issue