You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

12 lines
326 B

import dns.resolver
import dns.message
class ExtendedAnswer(dns.message.Message):
def __init__(self, initial_msg):
#for field in initial_msg.__attr__:
# self.field = initial_msg.field
super(ExtendedAnswer, self).__init__()
self.nameserver = None
self.qname = None