From 8adee960c9a54c6978161ea0f957b390a2b3232e Mon Sep 17 00:00:00 2001 From: Xiaochen Wang Date: Tue, 18 Jun 2024 17:12:57 +0800 Subject: [PATCH] upate changelog yml --- changelog/unreleased/kong/refactor_dns_client.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/changelog/unreleased/kong/refactor_dns_client.yml b/changelog/unreleased/kong/refactor_dns_client.yml index b561aa7a5e72..e0034a2c3595 100644 --- a/changelog/unreleased/kong/refactor_dns_client.yml +++ b/changelog/unreleased/kong/refactor_dns_client.yml @@ -3,5 +3,9 @@ message: > - Introduced global caching for DNS records across workers, significantly reducing the query load on DNS servers. - Introduced observable statistics for the new DNS client, and a new Admin API `/status/dns` to retrieve them. - Deprecated the `dns_no_sync` option in the context of the new DNS client library. With the new library, multiple DNS queries for the same name will always be synchronized (even across workers). The `dns_no_sync` option remains functional with the legacy DNS client library. + - Deprecated the `dns_not_found_ttl` option in the context of the new DNS client library. It uses the `dns_error_ttl` option for all error responses, without distinguishing between "(3) name error" and other error codes. The `dns_not_found_ttl` option remains functional with the legacy DNS client library. + - Deprecated `LAST` and `CNAME` values in the `dns_order` option. It's only used to specify which types are supported, not to decide their priority anymore. When querying DNS servers, the priority of supported types from high to low is: `SRV`, `A`, `AAAA`. + - Fixed the issue with unnecessary queries for FQDNs. If the domain name has more dots than the `ndots` value in `/etc/resolv.conf`, it won't query additional domains with search suffixes specified in `/etc/resolv.conf` anymore. + - Fixed the issue with updating stale records. If stale records in the cache are unavailable (due to error responses), they won't be reused and will be updated immediately when needed. type: feature scope: Core