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