summaryrefslogtreecommitdiffhomepage
path: root/Network/DNS/Types.hs
blob: cc74bda66bd53682a18d7f895a8547f44495af82 (plain)
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
{-|
  Data types for DNS Query and Response. For more information, see <http://www.ietf.org/rfc/rfc1035>.
-}

module Network.DNS.Types (
  -- * Domain
    Domain
  -- * TYPE
  , TYPE (..), intToType, typeToInt, toType
  -- * DNS Format
  , DNSFormat (..)
  -- * DNS Header
  , DNSHeader (..)
  -- * DNS Flags
  , DNSFlags (..)
  -- * DNS Body
  , QorR (..)
  , OPCODE (..)
  , RCODE (..)
  , ResourceRecord (..)
  , Question (..)
  , RDATA (..)
  , responseA, responseAAAA
  ) where

import Network.DNS.Internal