Use dnspool to limit thread creation for dns query.