amphp / dns

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

Could Not Resolve Host #103

Closed mztlive closed 3 years ago

mztlive commented 3 years ago

After I introduce amp/dns through composer, curl will trigger the exception "could resolve not host(6)" (occasionally)

But it’s strange that I just introduced it, but didn’t use it in the code.

After removing amp/dns from the composer dependency, it returned to normal

kelunik commented 3 years ago

If you didn't use the code, it was probably some other temporary error?

mztlive commented 3 years ago

If you didn't use the code, it was probably some other temporary error?

I don’t know. To be precise, I introduced amp/http-client into composer and then occasionally could not resolve host using guzzlehttp.

When I removed amp/php, it returned to normal

kelunik commented 3 years ago

I'm closing this in favor of https://github.com/amphp/http-client/issues/293.