def DoDNS(Str,Attrs,DnRecord):
if re.match('^[\w-]+\s+in\s+a\s+\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$',\
Str,re.IGNORECASE) == None and \
def DoDNS(Str,Attrs,DnRecord):
if re.match('^[\w-]+\s+in\s+a\s+\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$',\
Str,re.IGNORECASE) == None and \