diff --git a/changelog/unreleased/kong/fix_dns_enable_dns_no_sync.yml b/changelog/unreleased/kong/fix_dns_enable_dns_no_sync.yml new file mode 100644 index 000000000000..3e7b20b95266 --- /dev/null +++ b/changelog/unreleased/kong/fix_dns_enable_dns_no_sync.yml @@ -0,0 +1,3 @@ +message: The default value of `dns_no_sync` option has been changed to `on` +type: bugfix +scope: Configuration diff --git a/kong.conf.default b/kong.conf.default index 10bdf50d1b59..33f5c5274646 100644 --- a/kong.conf.default +++ b/kong.conf.default @@ -1543,7 +1543,7 @@ #dns_error_ttl = 1 # TTL in seconds for error responses. -#dns_no_sync = off # If enabled, then upon a cache-miss every +#dns_no_sync = on # 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 diff --git a/kong/templates/kong_defaults.lua b/kong/templates/kong_defaults.lua index 4a450fd08825..e6915a699f06 100644 --- a/kong/templates/kong_defaults.lua +++ b/kong/templates/kong_defaults.lua @@ -159,7 +159,7 @@ dns_stale_ttl = 4 dns_cache_size = 10000 dns_not_found_ttl = 30 dns_error_ttl = 1 -dns_no_sync = off +dns_no_sync = on dedicated_config_processing = off worker_consistency = eventual