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