Commit 1453f6fe9c839ae593181753802dfecf4fb88921

Version 1.1-beta-1. Updated cabal file, (c) headers, and README.
ADNS.hs
(1 / 1)
  
11{- |
22 Module : ADNS
3 Copyright : (c) 2007 Peter Simons
3 Copyright : (c) 2008 Peter Simons
44 License : LGPL
55
66 Maintainer : simons@cryp.to
  
11{-# OPTIONS -fffi #-}
22{- |
33 Module : ADNS.Base
4 Copyright : (c) 2007 by Peter Simons
5 License : GPL2
4 Copyright : (c) 2008 by Peter Simons
5 License : LGPL
66
77 Maintainer : simons@cryp.to
88 Stability : provisional
1313 <http://www.gnu.org/software/adns/>.
1414
1515 You will most likely not need this module directly: "ADNS"
16 provides a simpler for the Haskell world; this module contains
17 mostly marshaling code.
16 provides a simpler API for the Haskell world; this module
17 contains mostly marshaling code.
1818 -}
1919
2020module ADNS.Base where
2222import Control.Exception ( assert, bracket )
2323import Network ( HostName )
2424import Network.Socket ( HostAddress )
25import Data.Bits ()
2625import Foreign
2726import Foreign.C
2827import ADNS.Endian
  
11{- |
22 Module : ADNS.Endian
3 Copyright : (c) 2007 Peter Simons
3 Copyright : (c) 2008 Peter Simons
44 License : LGPL
55
66 Maintainer : simons@cryp.to
  
11{- |
22 Module : ADNS.Resolver
3 Copyright : (c) 2007 Peter Simons
3 Copyright : (c) 2008 Peter Simons
44 License : LGPL
55
66 Maintainer : simons@cryp.to
README
(9 / 5)
  
11An asynchronous DNS resolver for Haskell_
22=========================================
33
4:Latest Release: hsdns-1.0.tar.gz_
4:Latest Release: hsdns-1.0-beta-1.tar.gz_
55:Darcs: darcs_ get http://cryp.to/hsdns/
66
77Synopsis
99
1010 This library provides an asynchronous DNS resolver on top of
1111 the `GNU ADNS library`_. Not all options are supported, but A,
12 MX, and PTR lookups work fine. The code has been been tested
13 with ADNS versions 1.0 to 1.4.
12 MX, and PTR lookups work nicely. Courtesy of Lutz Donnerhacke
13 <lutz@iks-jena.de>, there is also support for retrieving
14 generic RR types, CNAMEs, and for NSEC zone walking. The
15 library can be expected to work with fine ADNS 1.4 or later. It
16 might also work with version ADNS 1.3, but that hasn't been
17 tested.
1418
1519 The example program adns-reverse-lookup.hs_ demonstrates how
1620 the resolver is used. Given a list of host names on the command
3737Copyleft
3838--------
3939
40 Copyright (c) 2007 Peter Simons <simons@cryp.to>. All rights
40 Copyright (c) 2008 Peter Simons <simons@cryp.to>. All rights
4141 reserved. This software is released under the terms of the `GNU
4242 Lesser General Public License
4343 <http://www.gnu.org/licenses/lgpl.html>`_.
5656
5757.. _Reference Documentation: docs/index.html
5858
59.. _hsdns-1.0.tar.gz: http://cryp.to/hsdns/hsdns-1.0.tar.gz
59.. _hsdns-1.0-beta-1.tar.gz: http://cryp.to/hsdns/hsdns-1.0-beta-1.tar.gz
6060
6161.. _adns-reverse-lookup.hs: example/adns-reverse-lookup.hs
  
11Name: hsdns
2Version: 1.0
3Author: Peter Simons <simons@cryp.to>
2Version: 1.1-beta-1
3Author: Peter Simons <simons@cryp.to>,
4 Lutz Donnerhacke <lutz@iks-jena.de>
45Maintainer: simons@cryp.to
56License: LGPL
67Homepage: http://cryp.to/hsdns/