Skip to content

Commit

Permalink
update changelog yml
Browse files Browse the repository at this point in the history
  • Loading branch information
chobits committed Jun 18, 2024
1 parent 8862f9b commit be93efd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion changelog/unreleased/kong/refactor_dns_client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ message: >
Starting from this version, a new DNS client library has been implemented and added into Kong. The new DNS client library has the following changes
- 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_no_sync` option. Multiple DNS queries for the same name will always be synchronized (even across workers). This remains functional with the legacy DNS client library.
- Deprecated the `dns_not_found_ttl` option. It uses the `dns_error_ttl` option for all error responses. This 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 supported types, not to decide their priority anymore. The priority of querying types from high to low is: `SRV`, `A`, `AAAA`.
type: feature
scope: Core
2 changes: 1 addition & 1 deletion kong/dns/client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ function _M.new(opts)
end
end

log(NOTICE, PREFIX, PREFIX, "supported types: ", enable_srv and "srv " or "",
log(NOTICE, PREFIX, "supported types: ", enable_srv and "srv " or "",
enable_ipv4 and "ipv4 " or "", enable_ipv6 and "ipv6 " or "")

-- parse resolv.conf
Expand Down

0 comments on commit be93efd

Please sign in to comment.