amphp / dns

Async DNS resolution for PHP based on Amp.
https://amphp.org/dns
MIT License
157 stars 32 forks source link

Incomplete packet error #96

Closed ShiSHcat closed 4 years ago

ShiSHcat commented 4 years ago

Next Amp\Dns\DnsException: All query attempts failed for mozilla.cloudflare-dns.com: Unexpected error during resolution: Decode error: Incomplete packet (tried to read 12 bytes from index 0, Unexpected error during resolution: Decode error: Incomplete packet (tried to read 12 bytes from index 0 in /home/shishcat1/redacted/vendor/amphp/dns/lib/Rfc1035StubResolver.php:193 Stack trace:

0 [internal function]: Amp\Dns\Rfc1035StubResolver->Amp\Dns{closure}()

PHP 7.4.2 debian

kelunik commented 4 years ago

@ShiSHcat Can you reproduce this issue? Which DNS server are you using?

ShiSHcat commented 4 years ago

I'm not having this problem anymore.

kelunik commented 4 years ago

Thanks for reporting back!

karelvasicek commented 1 year ago

I had exactly the same problem (for different domain, of course). The problem was caused by: