Add the DNSError type.
Add the UnexpectedRDATA constructor for DNSError (see Lookup.hs for examples).
Update the type signatures of lookup and lookupRaw in Resolver.hs.
Modify lookupRaw to return errors of the appropriate type.
Eliminate the listToMaybe function in lookup so that "no results" is not treated as an error.
Update the type signatures in Lookup.hs for the functions that require no further code changes.
Rewrite lookupXviaMX and fix the remaining type signatures in Lookup.hs.
Add derived Eq,Show instances for DNSError (needed for tests).
Update all of the existing lookup tests with the new expected results.
Rewrite lookupA to return an UnexpectedRDATA error when appropriate.
Rewrite lookupAAAA to return an UnexpectedRDATA error when appropriate.
Rewrite lookupMX to return an UnexpectedRDATA error when appropriate.
Rewrite lookupNS to return an UnexpectedRDATA error when appropriate.
Rewrite lookupTXT to return an UnexpectedRDATA error when appropriate.
Rewrite lookupPTR to return an UnexpectedRDATA error when appropriate.
Rewrite lookupSRV to return an UnexpectedRDATA error when appropriate.
Remove unused Control.Applicative import in Lookup.hs.
Add a test to ensure that TimeoutExpired is returned on timeout.
Merge branch 'dnserror'
ver bumps up.