MCPcopy Create free account
hub / github.com/TheRook/subbrute / parseQuestions

Method parseQuestions

dnslib/digparser.py:110–114  ·  view source on GitHub ↗
(self,q,dns)

Source from the content-addressed store, hash-verified

108 return val
109
110 def parseQuestions(self,q,dns):
111 for qname,qclass,qtype in q:
112 dns.add_question(DNSQuestion(qname,
113 getattr(QTYPE,qtype),
114 getattr(CLASS,qclass)))
115
116 def parseAnswers(self,a,auth,ar,dns):
117 sect_map = {'a':'add_answer','auth':'add_auth','ar':'add_ar'}

Callers 1

parseMethod · 0.95

Calls 2

DNSQuestionClass · 0.90
add_questionMethod · 0.80

Tested by

no test coverage detected