vshabanov / hsdns-cache

Caching asynchronous DNS resolver

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hsdns-cache

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.

Limits 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).

Used in production in BazQux Reader feeds and comments crawler.

About

Caching asynchronous DNS resolver

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Haskell 100.0%