dns2txt.py 124 Bytes
Newer Older
1 2 3 4 5 6 7 8
#!/usr/bin/python3

import sys

import dns.message

m = dns.message.from_wire(open(sys.argv[1], 'rb').read())
print(str(m))