The hsdns package

[Tags:lgpl, library]

Asynchronous DNS Resolver; requires GNU ADNS to be installed.

[Skip to Readme]


Versions 1.0, 1.1, 1.3, 1.4, 1.4.1, 1.4.2, 1.4.3, 1.5, 1.6, 1.6.1, 1.7
Dependencies base (>= && <, containers, network [details]
License LGPL
Author Peter Simons <>, Lutz Donnerhacke <> Григорий Холомьёв <>
Maintainer Peter Simons <>
Category Foreign, Network
Home page
Uploaded Fri Nov 13 19:20:23 UTC 2009 by PeterSimons
Distributions LTSHaskell:1.7, NixOS:1.7, Stackage:1.7, Tumbleweed:1.7
Downloads 2552 total (20 in the last 30 days)
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]




Maintainer's Corner

For package maintainers and hackage trustees

Readme for hsdns

Readme for hsdns-1.4.1

An asynchronous DNS resolver for Haskell_

:Latest Release: hsdns-1.4.1.tar.gz_
:Darcs:          darcs_ get


  This library provides an asynchronous DNS resolver on top of
  the `GNU ADNS library`_. Not all options are supported, but A,
  MX, and PTR lookups work nicely. Courtesy of Lutz Donnerhacke
  <>, there is also support for retrieving
  generic RR types, CNAMEs, and for NSEC zone walking. The
  library can be expected to work with fine ADNS 1.4 or later. It
  might also work with version ADNS 1.3, but that hasn't been

  The example program adns-reverse-lookup.hs_ demonstrates how
  the resolver is used. Given a list of host names on the command
  line, it performs an A/PTR double-lookup and checks whether the
  records are consistent. The output is printed in the order in
  which the DNS responses arrive::

    $ ./adns-reverse-lookup
    OK: <->
    ERR: cannot resolve A
    FAIL: -> -> [""]
    FAIL: -> -> ["localhost"]


  `Reference Documentation`_
     Haddock-generated reference of all exported functions.


  Copyright (c) 2008 Peter Simons <>. All rights
  reserved. This software is released under the terms of the `GNU
  Lesser General Public License


`[Homepage] <>`_

.. _Haskell:

.. _Cabal:

.. _darcs:

.. _GNU ADNS library:

.. _Reference Documentation: docs/index.html

.. _hsdns-1.4.1.tar.gz:

.. _adns-reverse-lookup.hs: example/adns-reverse-lookup.hs