Skip to content

Commit

Permalink
Revert "fix(conf): set default value of dns_no_sync to on (#11869)"
Browse files Browse the repository at this point in the history
This reverts commit 3be2513.
  • Loading branch information
chobits committed Nov 1, 2023
1 parent 478ac93 commit 601ec2f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions changelog/unreleased/kong/fix_dns_enable_dns_no_sync.yml

This file was deleted.

2 changes: 1 addition & 1 deletion kong.conf.default
Original file line number Diff line number Diff line change
Expand Up @@ -1543,7 +1543,7 @@

#dns_error_ttl = 1 # TTL in seconds for error responses.

#dns_no_sync = on # If enabled, then upon a cache-miss every
#dns_no_sync = off # If enabled, then upon a cache-miss every
# request will trigger its own dns query.
# When disabled multiple requests for the
# same name/type will be synchronised to a
Expand Down
2 changes: 1 addition & 1 deletion kong/templates/kong_defaults.lua
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ dns_stale_ttl = 4
dns_cache_size = 10000
dns_not_found_ttl = 30
dns_error_ttl = 1
dns_no_sync = on
dns_no_sync = off
dedicated_config_processing = on
worker_consistency = eventual
Expand Down

0 comments on commit 601ec2f

Please sign in to comment.