wasn't aware of DNS function
This commit is contained in:
parent
1e95e58811
commit
aba8d27ace
@ -2275,7 +2275,7 @@ function rDNS($ip_addr) {
|
|||||||
|
|
||||||
$isip = filter_var($host, FILTER_VALIDATE_IP);
|
$isip = filter_var($host, FILTER_VALIDATE_IP);
|
||||||
|
|
||||||
if ($config['fcrdns'] && !$isip && gethostbyname($host) != $ip_addr) {
|
if ($config['fcrdns'] && !$isip && DNS($host) != $ip_addr) {
|
||||||
$host = $ip_addr;
|
$host = $ip_addr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user