dns-2.0.13: DNS library in Haskell

Safe HaskellNone
LanguageHaskell2010

Network.DNS.Encode

Synopsis

Documentation

encode :: DNSMessage -> ByteString Source #

Composing DNS data.

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

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