amphp / dns

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

Setting for default timeout #37

Closed kelunik closed 7 years ago

kelunik commented 7 years ago

Currently we allow default timeouts on Linux via /etc/resolv.conf. On Windows there's no such thing we support. It would be cool to have a global setting for the timeout I think that can be set on Windows.

Relates to https://github.com/kelunik/acme-client/issues/44.

kelunik commented 7 years ago

Related: http://serverfault.com/a/431219/217277

kelunik commented 7 years ago

This can now be implemented by passing a custom ConfigLoader in the Amp v2 version.