mafintosh / dns-packet

An abstract-encoding compliant module for encoding / decoding DNS packets
MIT License
207 stars 71 forks source link

Add packet encode/decode support for stream protocols (TCP, TCP over TLS). #16

Closed pusateri closed 6 years ago

pusateri commented 6 years ago

There is a two byte length field that proceeds the message when sent over stream protocols like TCP as defined in RFC 1035. I have a patch for this I will submit as a pull request.