hsdns: Asynchronous DNS Resolver

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

Asynchronous DNS Resolver; requires GNU ADNS to be installed.

[Skip to Readme]
Versions [RSS] [faq] 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, 1.8
Dependencies base (<4.3), containers (<0.2), network (<2.5) [details]
License LicenseRef-LGPL
Author Peter Simons <simons@cryp.to>, Lutz Donnerhacke <lutz@iks-jena.de>
Maintainer Peter Simons <simons@cryp.to>
Revised Revision 1 made by HerbertValerioRiedel at 2016-12-25T09:29:24Z
Category Foreign, Network
Home page http://cryp.to/hsdns/
Uploaded by PeterSimons at 2008-02-20T22:48:58Z
Distributions LTSHaskell:1.8, NixOS:1.8, Stackage:1.8
Downloads 10472 total (19 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]




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.3

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

:Latest Release: hsdns-1.3.tar.gz_
:Darcs:          darcs_ get http://cryp.to/hsdns/


  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
  <lutz@iks-jena.de>, 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 xyz.example.org ecrc.de www.example.com www.cryp.to
    OK: www.example.com <->
    ERR: xyz.example.org: cannot resolve A
    FAIL: www.cryp.to -> -> ["research.cryp.to"]
    FAIL: ecrc.de -> -> ["localhost"]


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


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


`[Homepage] <http://cryp.to/>`_

.. _Haskell: http://haskell.org/

.. _Cabal: http://haskell.org/cabal/

.. _darcs: http://abridgegame.org/darcs/

.. _GNU ADNS library: http://www.chiark.greenend.org.uk/~ian/adns/

.. _Reference Documentation: docs/index.html

.. _hsdns-1.3.tar.gz: http://cryp.to/hsdns/hsdns-1.3.tar.gz

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