def rawData(self):
    secondWord = (self.opcode << 11)
    secondWord |= (self.nm_flags << 4)
    secondWord |= self.rcode
    data = ((pack('!HHHHHH', self.name_trn_id, secondWord, self.qdcount, self.ancount, self.nscount, self.arcount) + self.questions) + self.answers)
    return data
def rawData(self):
    secondWord = (self.opcode << 11)
    secondWord |= (self.nm_flags << 4)
    secondWord |= self.rcode
    data = ((pack('!HHHHHH', self.name_trn_id, secondWord, self.qdcount, self.ancount, self.nscount, self.arcount) + self.questions) + self.answers)
    return data