The hsdns package

[ Tags: foreign, lgpl, library, network ] [ Propose Tags ]

An asynchronous DNS resolver based on GNU ADNS.

[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, 1.7.1
Dependencies base (<3), network (<2.5) [details]
License LGPL
Author Peter Simons <>
Category Foreign, Network
Home page
Uploaded Sun Sep 9 00:34:02 UTC 2007 by PeterSimons
Updated Sun Dec 25 09:34:50 UTC 2016 by HerbertValerioRiedel to revision 1   [What is this?]
Distributions LTSHaskell:1.7.1, NixOS:1.7.1, Stackage:1.7.1, openSUSE:1.7
Executables adns-reverse-lookup
Downloads 4917 total (96 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI




Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees

Readme for hsdns-1.0

[back to package description]
An asynchronous DNS resolver for Haskell_

:Latest Release: hsdns-1.0.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 fine. The code has been been tested
  with ADNS versions 1.0 to 1.4.

  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) 2007 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.0.tar.gz:

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