php-dns-client
php-dns-client copied to clipboard
Add socket read timeout, fix global error handler
Add timeout for reading data, see Note here - https://www.php.net/manual/en/function.fsockopen.php
Error handler which is set here - https://github.com/metaregistrar/php-dns-client/blob/master/DNS/dnsProtocol.php#L57 is never removed and turns all user code errors into dnsException.