NetDNS2\Exception::__set_state(array(
message => '',
*Exception*string => '',
code => 3855,
file => 'D:\\websites\\htdocs\\projects\\standalone\\DNS Hijacking Inspector\\vendor\\mikepultz\\netdns2\\src\\NetDNS2\\Client.php',
line => 958,
*Exception*trace =>
array (
0 =>
array (
file => 'D:\\websites\\htdocs\\projects\\standalone\\DNS Hijacking Inspector\\vendor\\mikepultz\\netdns2\\src\\NetDNS2\\Client.php',
line => 1011,
function => 'generateError',
class => 'NetDNS2\\Client',
type => '->',
args =>
array (
0 => 1,
1 => '10.0.0.1',
2 =>
NetDNS2\ENUM\Error::__set_state(array(
name => 'INT_FAILED_SOCKET',
value => 3855,
)),
),
),
1 =>
array (
file => 'D:\\websites\\htdocs\\projects\\standalone\\DNS Hijacking Inspector\\vendor\\mikepultz\\netdns2\\src\\NetDNS2\\Client.php',
line => 813,
function => 'sendTCPRequest',
class => 'NetDNS2\\Client',
type => '->',
args =>
array (
0 => '10.0.0.1',
1 => '�?�
My setup
My Function
For your reference
Details
The Issue
When I do a lookup without disabling peer verification, I get no response at all from your library. However, below I have added the exception generated
Exception Array
from this function.
netdns2/src/NetDNS2/Client.php
Lines 811 to 821 in 37dcffa
When I use the code below I get the IP of the requested domain, as expected.
Additional
When I use
doge.exeto do DNS lookup on my DoT server I get the following error. Currently I cannot find a swtich to disable the peer verification with this app.see this for more info: Add an option to disable Peer verification to allow for testing on devices with self signed certificates #93
TL;DR
Should when there is the non-verified certificate on a DoT nameserver and verify peers is enabled, should there an error returned?
e.g. like cURL :
curl failed with response: SSL certificate problem: self-signed certificate