dns-1.4.5: DNS library in Haskell

Safe HaskellNone
LanguageHaskell2010

Network.DNS.Encode

Synopsis

Documentation

encode :: DNSFormat -> ByteString Source

Composing DNS data.

composeQuery :: Int -> [Question] -> ByteString Source

Composing query. First argument is a number to identify response.