Create dnslogquery.py

this file performs the query on the database created by the dns.py program.