hsdns-cache

Caching asynchronous DNS resolver. https://github.com/bazqux/hsdns-cache

Latest on Hackage:1.0.4

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD3 licensed and maintained by Vladimir Shabanov

Caching asynchronous DNS resolver built on top of GNU ADNS http://www.chiark.greenend.org.uk/~ian/adns/.

  • Resolves several IP addresses for one host (if available) in round-robin fashion.

  • Throttles number of parallel requests (so DNS resolving continues to work even under heavy load).

  • Errors are cached too (for one minute).

  • Handles CNAMEs (hsdns returns error for them).

This cache is tested in a long running web-crawler (used in https://bazqux.com) so it should be safe to use it in real world applications.

comments powered byDisqus