A thread-safe DNS library for both clients and servers written in pure Haskell. The Network.DNS module re-exports all other exposed modules for convenience. Applications will most likely use the high-level interface, while library/daemon authors may need to use the lower-level one.
The Network.DNS.Lookup module contains simple functions to
perform various DNS lookups. If you simply want to resolve a
lookupA), or find a domain's MX record
lookupMX), this is the easiest way to do it.
All of the types that the other modules use.
Decoding a response.
Encoding a query.