# FLUSH HOSTS

The `FLUSH HOSTS` command flushes the forward and reverse caches for DNS/IP lookup.

## Syntax

```
FLUSH HOSTS;

```

## Remarks

* Execute this command when the IP address of a node changes, but its FQDN remains unchanged.
* This command causes implicit commits. Refer to [COMMIT](https://docs.singlestore.com/db/v9.1/reference/sql-reference/data-manipulation-language-dml/commit.md) for more information.

## Example

```sql

FLUSH HOSTS;

```

***

Modified at: June 11, 2026

Source: [/db/v9.1/reference/sql-reference/cluster-management-commands/flush-hosts/](https://docs.singlestore.com/db/v9.1/reference/sql-reference/cluster-management-commands/flush-hosts/)

(An index of the documentation is available at /llms.txt)
