We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4c1527 commit bcf0c04Copy full SHA for bcf0c04
apisix-master-0.rockspec
@@ -33,7 +33,7 @@ description = {
33
dependencies = {
34
"lua-resty-ctxdump = 0.1-0",
35
"lyaml = 6.2.8-1",
36
- "api7-lua-resty-dns-client = 7.0.1-0",
+ "api7-lua-resty-dns-client = 7.1.0-0",
37
"lua-resty-template = 2.0-1",
38
"lua-resty-etcd = 1.10.6-0",
39
"api7-lua-resty-http = 0.2.2-0",
apisix/core/dns/client.lua
@@ -147,6 +147,7 @@ function _M.new(opts)
147
148
opts.timeout = 2000 -- 2 sec
149
opts.retrans = 5 -- 5 retransmissions on receive timeout
150
+ opts.finalCacheOnly = true -- only cache final records
151
152
-- make sure each client has its separate room
153
package_loaded["resty.dns.client"] = nil
0 commit comments