19c19 < 'qtype':Type.A, 'rd':1, 'timing':1, 'timeout': 30, 'qclass': Class.IN } --- > 'qtype':Type.A, 'rd':1, 'timing':1, 'timeout': 30 } 170,180c170 < < # patch to enable CHAOS query class support < if type(self.args['qclass']) == types.StringType: < try: < qclass = getattr(Class, string.upper(self.args['qclass'])) < except AttributeError: < raise DNSError,'unknown query class' < else: < qclass=self.args['qclass'] < < m.addQuestion(qname, qtype, qclass) --- > m.addQuestion(qname, qtype, Class.IN)