The hsdns package

[Tags: lgpl, library]

Asynchronous DNS Resolver; requires GNU ADNS to be installed.


[Skip to ReadMe]

Properties

Versions1.0, 1.1, 1.3, 1.4, 1.4.1, 1.4.2, 1.4.3, 1.5, 1.6, 1.6.1
Change logNone available
Dependenciesbase (>=3.0.0.0 && <4.2.0.0), containers, network [details]
LicenseLGPL
AuthorPeter Simons <simons@cryp.to>, Lutz Donnerhacke <lutz@iks-jena.de> Григорий Холомьёв <omever@gmail.com>
MaintainerPeter Simons <simons@cryp.to>
CategoryForeign, Network
Home pagehttp://cryp.to/hsdns/
UploadedFri Nov 13 19:20:23 UTC 2009 by PeterSimons
Downloads1805 total (86 in last 30 days)
Votes
0 []
StatusDocs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for hsdns-1.4.1

An asynchronous DNS resolver for Haskell_
=========================================

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

Synopsis
--------

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

  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 <-> 208.77.188.166
    ERR: xyz.example.org: cannot resolve A
    FAIL: www.cryp.to -> 195.234.152.69 -> ["research.cryp.to"]
    FAIL: ecrc.de -> 127.0.0.1 -> ["localhost"]

Documentation
-------------

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

Copyleft
--------

  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
  <http://www.gnu.org/licenses/lgpl.html>`_.

-----------------------------------------------------------------

`[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.4.1.tar.gz: http://cryp.to/hsdns/hsdns-1.4.1.tar.gz

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