| network-dns-0.1: A pure Haskell, asyncronous DNS client library | Contents | Index |
|
|
|
|
|
Description |
Contains DNS types which users of the DNS library may need to use. Private
types are mostly kept in Network.DNS.Common
|
|
Synopsis |
|
|
|
Documentation |
|
data DNSType |
Types of DNS resources. RFC 1035, 3.2.2.
| Constructors | A | | NS | | CNAME | | SOA | | PTR | | MX | | TXT | | AAAA | | UnknownDNSType | This is for internal error handling
and should never be used or seen outside
Network.DNS
|
| Instances | |
|
|
data ResponseCode |
Error codes. RFC 1035, 4.1.1.
| Constructors | NoError | | FormatError | The name server was unable to interpret the query
| ServerError | The name server was unable to process this query due to a problem with the name server
| NXDomain | Meaningful only for responses from an authoritative name server, this code signifies that the domain name referenced in the query does not exist
| NotImplemented | The name server does not support the requested kind of query.
| AccessDenied | The name server refuses to perform the specified operation for policy reasons. For example, a name server may not wish to provide the information to the particular requester, or a name server may not wish to perform a particular operation (e.g., zone transfer) for particular data.
|
| Instances | |
|
|
data RR |
Resource record types. There store the actual data in the DNS database.
There's one for each DNSType
| Constructors | | Instances | |
|
|
rrToType :: RR -> DNSType |
Given an RR, this tells you the resource type of it
|
|
Produced by Haddock version 0.8 |