-
Notifications
You must be signed in to change notification settings - Fork 36
/
DNS.hs
37 lines (31 loc) · 1.14 KB
/
DNS.hs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
-- | 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.
--
module Network.DNS (
-- * High level
module Network.DNS.Lookup
-- | The "Network.DNS.Lookup" module contains simple functions to
-- perform various DNS lookups. If you simply want to resolve a
-- hostname ('lookupA'), or find a domain's MX record
-- ('lookupMX'), this is the easiest way to do it.
, module Network.DNS.Resolver
-- | The "Network.DNS.Resolver" module is slightly more low-level
-- than "Network.DNS.Lookup". If you need to do something unusual,
-- you may need to use the 'lookup', 'lookupAuth', or 'lookupRaw'
-- functions.
, module Network.DNS.Types
-- | All of the types that the other modules use.
-- * Low level
, module Network.DNS.Decode
-- | Decoding a response.
, module Network.DNS.Encode
-- | Encoding a query.
) where
import Network.DNS.Lookup
import Network.DNS.Resolver
import Network.DNS.Types
import Network.DNS.Decode
import Network.DNS.Encode