Contains DNS types which users of the DNS library may need to use. Private types are mostly kept in Network.DNS.Common
- data DNSType
- data ResponseCode
- data RR
- rrToType :: RR -> DNSType
Types of DNS resources. RFC 1035, 3.2.2.
This is for internal error handling and should never be used or seen outside Network.DNS
Error codes. RFC 1035, 4.1.1.
The name server was unable to interpret the query
The name server was unable to process this query due to a problem with the name server
Meaningful only for responses from an authoritative name server, this code signifies that the domain name referenced in the query does not exist
The name server does not support the requested kind of query.
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.
Resource record types. There store the actual data in the DNS database. There's one for each DNSType
|RRMX [(Int, [String])]|
a list of preferences and hostnames