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 ($@) {
|
if ($@) {
|
||||||
$CACHE{$ip} = undef;
|
$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 {
|
else {
|
||||||
$CACHE{$ip} = $host;
|
$CACHE{$ip} = $host;
|
||||||
|
|
Loading…
Reference in New Issue