title: Malformed DNS Request Packet
body: <p>I've been working on a project which involves sending <code>DNS</code> requests with information (not actual domains) in the questions (2 of them). I've been tracking the packets with <code>wireshark</code>. </p>
  
  <p>Here is the <code>tcp</code> dump of the packet created. </p>
  
  <blockquote>
    <p>00000000  00 02 01 00 00 02 00 00  00 00 00 00 01 32 03 65 </p>
    
    <p>00000010  6e 64 03 63 6f 6d 00 00  01 00 01 01 32 04 73 61 </p>
    
    <p>00000020  76 65 03 63 6f 6d 00 00  01 00 01 </p>
    
    <p>........ .....2.e</p>
    
    <p>nd.com.. ....2.sa</p>
    
    <p>ve.com.. ...</p>
  </blockquote>
  
  <p>The <code>i.d.</code> and <code>qdcount</code> should be 2, recursion desired, and the domains shown are correct. <code>Wireshark</code> is saying that it is a malformed <code>DNS</code> packet. Any idea what is wrong with the packet?</p>