title: Creating DNS packet with dnslib python
body: <p>Using dnslib with python 2.6 </p>
  
  <p>I created the following code</p>
  
  <pre><code>#!/usr/bin/env python
  
  from dnslib import *
  import sys
  
  a = DNSRecord.question(sys.argv[1])
  
  print a.pack()
  </code></pre>
  
  <p>when i try to do the following </p>
  
  <pre><code>a = DNSRecord.question(sys.argv[1],"A MX NS AAAA dnssec trace multiline")
  </code></pre>
  
  <p>dnslib.dns.DNSError: QTYPE: Invalid reverse lookup: [A MX NS AAAA dnssec trace multiline]</p>
  
  <p>what i'd like to do is very simple</p>
  
  <p>craft a packet with the following flags set in it and just pring the packed data</p>
  
  <p>Is this possible using dnslib ?</p>