Gets dns query information for a given set of domains and stores statistics in a  db