@@ -0,0 +1,228 @@
+import sqlite3%0A%0Aconn = sqlite3.connect(%22dnsDB.db%22)%0Ac = conn.cursor()%0Afor row in c.execute(%22SELECT datedns, timedns, address, dnsname, count(dnsname) AS namecount FROM dnsDB group by dnsname order by namecount DESC%22):%0A%09print row%0A

Create dnslogquery.py