-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
try {
$isTor = TorDNSEL::IpPort(
$_SERVER['SERVER_ADDR'],
$_SERVER['SERVER_PORT'],
$_SERVER['REMOTE_ADDR']
);
var_dump($isTor);
} catch (\Exception $ex) {
echo $ex->getMessage() . "\n";
}
This will always result in error:
Warning: fsockopen(): unable to connect to udp://exitlist.torproject.org:53 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /var/www/html/project/vendor/dapphp/torutils/src/TorDNSEL.php on line 183
Failed to send DNS request. Error 0: php_network_getaddresses: getaddrinfo failed: Name or service not known
It seems like DNS server exitlist.torproject.org has changed. Will you please advice how to fix this
Metadata
Metadata
Assignees
Labels
No labels