New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement system.dns_cache table #59856
Conversation
This is an automated comment for commit 59c40bc with description of existing statuses. It's updated for the latest CI running ❌ Click here to open a full report in a separate page Successful checks
|
Please sign a CLA. |
Done |
This reverts commit b5ef034.
The test has failed. Please resubmit. |
|
||
- `hostname` ([String](../../sql-reference/data-types/string.md)) — cached hostname | ||
- `ip_address` ([String](../../sql-reference/data-types/string.md)) — ip address for the hostname | ||
- `family` ([String](../../sql-reference/data-types/string.md)) — family of the ip address: `IPv4`, `IPv6`, or `UNIX_LOCAL`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should really be of type Enum.
Alternatively, replace ip_address
by ipv4
(of type Nullable([IP4](https://clickhouse.com/docs/en/sql-reference/data-types/ipv4))
, ipv6
(of type Nulalble(IP6)
) and unix_local
(of type String
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thx, it's done
new PR #60257 |
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Implemented system.dns_cache table, which can be useful for debugging DNS issues
Closes #42690
Example usage:
SELECT * FROM system.dns_cache;
Documentation entry for user-facing changes