diff options
| author | Bui <bui@bui.pm> | 2014-10-06 04:30:32 +0900 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2014-10-05 23:20:06 +0200 |
| commit | aba8d27ace9b1b95bb7cc71ae0424f0bc8f20809 (patch) | |
| tree | 3b453ced07f24d5c6e63e9d05d1384889cf68124 /inc/functions.php | |
| parent | 1e95e588110516ed0d89ddb8546548a6324b3e1a (diff) | |
wasn't aware of DNS function
Diffstat (limited to 'inc/functions.php')
| -rw-r--r-- | inc/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/functions.php b/inc/functions.php index f45e9055..3802d19d 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -2275,7 +2275,7 @@ function rDNS($ip_addr) { $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; } |
