@hackage / hsdns-cache

Caching asynchronous DNS resolver.

Version Deprecated package1.0.4

About

Metadata

  • Last updated , by VladimirShabanov
  • License BSD-3-Clause
  • Categories Network Development
  • Maintained by: Vladimir Shabanov <vshabanoff@gmail.com>

  • Lottery factor: 0

Links

Installation

This package has been deprecated in favour of

Readme

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.