| 1 |
Name: hsdns |
| 2 |
Version: 1.5 |
| 3 |
Copyright: (c) 2004-2011 Peter Simons |
| 4 |
License: LGPL-3 |
| 5 |
License-File: COPYING.LESSER |
| 6 |
Author: Peter Simons <simons@cryp.to>, Lutz Donnerhacke <lutz@iks-jena.de>, |
| 7 |
Григорий Холомьёв <omever@gmail.com>, Evan Rinehart <ebr@sciresearch.com> |
| 8 |
Maintainer: Peter Simons <simons@cryp.to> |
| 9 |
Homepage: http://gitorious.org/hsdns |
| 10 |
Category: Foreign, Network |
| 11 |
Synopsis: Asynchronous DNS Resolver |
| 12 |
Description: This library provides an asynchronous DNS resolver on top |
| 13 |
of GNU ADNS <http://www.chiark.greenend.org.uk/~ian/adns/>. |
| 14 |
Not all options are supported, but A, MX, and PTR lookups |
| 15 |
work nicely. There is also support for retrieving generic |
| 16 |
RR types, CNAMEs, and for NSEC zone walking. The library |
| 17 |
can be expected to work with fine ADNS 1.4 or later. It |
| 18 |
might also work with version ADNS 1.3, but that hasn’t |
| 19 |
been tested. |
| 20 |
. |
| 21 |
The example program adns-reverse-lookup.hs demonstrates |
| 22 |
how the resolver is used. Given a list of host names on |
| 23 |
the command line, it performs an A/PTR double-lookup and |
| 24 |
checks whether the records are consistent. The |
| 25 |
output is printed in the order in which the DNS responses |
| 26 |
arrive: |
| 27 |
. |
| 28 |
> $ ./adns-reverse-lookup cryp.to localhost www.example.com |
| 29 |
> OK: localhost <-> 127.0.0.1 |
| 30 |
> FAIL: cryp.to -> 217.19.183.102 -> ["zuse.cryp.to"] |
| 31 |
> OK: www.example.com <-> 192.0.32.10 |
| 32 |
Cabal-Version: >= 1.6 |
| 33 |
Build-Type: Simple |
| 34 |
Tested-With: GHC == 6.12.3 |
| 35 |
|
| 36 |
Extra-Source-Files: example/adns-reverse-lookup.hs |
| 37 |
example/adns-srv-test.hs |
| 38 |
example/adns-test-and-traverse.hs |
| 39 |
|
| 40 |
Source-Repository head |
| 41 |
Type: git |
| 42 |
Location: git://gitorious.org/hsdns/mainline.git |
| 43 |
|
| 44 |
Library |
| 45 |
Build-Depends: base >= 3 && < 5, network, containers |
| 46 |
Extensions: ForeignFunctionInterface, EmptyDataDecls |
| 47 |
Extra-Libraries: adns |
| 48 |
Includes: "adns.h" "errno.h" |
| 49 |
Exposed-Modules: ADNS, |
| 50 |
ADNS.Base, |
| 51 |
ADNS.Endian, |
| 52 |
ADNS.Resolver |
| 53 |
Ghc-Options: -Wall |