def showAll(self):
		self.conn.commit()
		cur = self.conn.cursor()
		cur.execute("SELECT * FROM Domains")
		print cur.fetchall()
		cur.execute("SELECT * FROM Websites")
		print cur.fetchall()
def encode(self):
        if self.version == 6:
            return {'ip6': self.ip_addr}
        else:
            return {'ip4': self.ip_addr}