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
- = NoError
- | FormatError
- | ServerError
- | NXDomain
- | NotImplemented
- | AccessDenied
- data RR
- rrToType :: RR -> DNSType
Documentation
Types of DNS resources. RFC 1035, 3.2.2.
data ResponseCode Source
Error codes. RFC 1035, 4.1.1.
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. |