Why clear dns_result? There may be some valid results already there.