summaryrefslogtreecommitdiffhomepage
path: root/Network/DNS/Types.hs
blob: 58832e02a0219d407d451dd96bea04d8fa576653 (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
{-|
  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, header, question, answer, authority, additional
  -- * DNS Header
  , DNSHeader, identifier, flags, qdCount, anCount, nsCount, arCount
  -- * DNS Flags
  , DNSFlags, qOrR, opcode, authAnswer, trunCation, recDesired, recAvailable, rcode
  -- * DNS Body
  , QorR (..)
  , OPCODE (..)
  , RCODE (..)
  , ResourceRecord, rrname, rrtype, rrttl, rdlen, rdata
  , Question, qname, qtype, makeQuestion
  , RDATA (..)
  ) where

import Network.DNS.Internal