@staticmethod
def storeDB(conn, domains):
    """Overwrite the domains in the table with the specified domains (string) in the database."""
    c = conn.cursor()
    vals = []
    for domain in domains:
        vals.append((domain,))
    c.execute('delete from domain')
    c.executemany('insert into domain(domain) values (?)', iter(vals))
    c.close()
