random dnsflood basic function