Back to Clickhouse

system.dns_cache

docs/en/operations/system-tables/dns_cache.md

26.4.1.1-new964 B
Original Source

import SystemTableCloud from '@site/docs/_snippets/_system_table_cloud.md';

Contains information about cached DNS records.

Columns:

<!--AUTOGENERATED_START--> <!--AUTOGENERATED_END-->

Example

Query:

sql
SELECT * FROM system.dns_cache;

Result:

hostnameip_addressip_familycached_at
localhost::1IPv62024-02-11 17:04:40
localhost127.0.0.1IPv42024-02-11 17:04:40

See also