summaryrefslogtreecommitdiffhomepage
path: root/Network/DNS/Types.hs
blob: 906fc080f92c50c9e270588486dfb605a623b7a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
module Network.DNS.Types (
    TYPE (..), intToType, typeToInt, toType
  , QorR (..)
  , OPCODE (..)
  , RCODE (..)
  , Domain
  , Question (qname,qtype), makeQuestion
  , ResourceRecord (rrname,rrtype,rrttl,rdlen,rdata)
  , RDATA (..)
  , DNSFlags (qOrR,opcode,authAnswer,trunCation,recDesired,recAvailable,rcode)
  , DNSHeader (identifier,flags,qdCount,anCount,nsCount,arCount)
  , DNSFormat (header,question,answer,authority,additional)
  ) where

import Network.DNS.Internal