dns-0.3.4: DNS library in Haskell

Safe HaskellSafe-Infered

Network.DNS.Encode

Synopsis

Documentation

encode :: DNSFormat -> ByteStringSource

Composing DNS data.

composeQuery :: Int -> [Question] -> ByteStringSource

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