problems[domain]="DNS isn't configured properly for this domain: DNS resolution failed (%s: %s)."%(rtype,str(e)orrepr(e))# NoAnswer's str is empty
returnFalse
exceptExceptionase:
problems[domain]="DNS isn't configured properly for this domain: DNS lookup had an error: %s."%str(e)
returnFalse
iflen(response)!=1orstr(response[0])!=value:
problems[domain]="Domain control validation cannot be performed for this domain because DNS points the domain to another machine (%s %s)."%(rtype,", ".join(str(r)forrinresponse))