설명
캐시된 DNS 레코드 정보를 포함합니다.
컬럼
hostname(String) — 호스트명.ip_address(String) — IP 주소.ip_family(Enum8('IPv4' = 0, 'IPv6' = 1, 'UNIX_LOCAL' = 2)) — IP 주소 유형.cached_at(DateTime) — 레코드가 캐시된 시각.
예시
SELECT * FROM system.dns_cache;| 호스트명 | ip_address | ip_family | cached_at |
|---|---|---|---|
| localhost | ::1 | IPv6 | 2024-02-11 17:04:40 |
| localhost | 127.0.0.1 | IPv4 | 2024-02-11 17:04:40 |