def add_question(self, qname, rdtype, rdclass=dns.rdataclass.IN):

        self._set_section(QUESTION)
        before = self.output.tell()
        qname.to_wire(self.output, self.compress, self.origin)
        self.output.write(struct.pack("!HH", rdtype, rdclass))
        after = self.output.tell()
        if after >= self.max_size:
            self._rollback(before)
            raise dns.exception.TooBig
        self.counts[QUESTION] += 1
Add a question to the message.
dataset/ETHPy150Open catap/namebench/nb_third_party/dns/renderer.py/Renderer.add_question