def __GetQName(self, domain):
		'''
			QNAME A domain name represented as a sequence of labels 
			where each label consists of a length
			octet followed by that number of octets
		'''
		labels = domain.split('.')
		QName = ''
		for label in labels:
			if len(label):
				QName += struct.pack('B', len(label)) + label
		return QName

			QNAME A domain name represented as a sequence of labels 
			where each label consists of a length
			octet followed by that number of octets
		
Saddam.py