modify dnscheck func, store last 5min value