aboutsummaryrefslogtreecommitdiff
path: root/plugin/metrics/setup.go
diff options
context:
space:
mode:
authorGravatar Carl-Magnus Björkell <cmb@tradeshift.com> 2018-10-31 22:08:58 +0100
committerGravatar Miek Gieben <miek@miek.nl> 2018-10-31 21:08:58 +0000
commitcfbfa5c00e6be3f1dceabe33078499e332de58ff (patch)
tree393d75dbf1115b2cd919f4189c290191a063d349 /plugin/metrics/setup.go
parent1ef0a02b467ac234b9f99ed3060d31ff6a2ca546 (diff)
downloadcoredns-cfbfa5c00e6be3f1dceabe33078499e332de58ff.tar.gz
coredns-cfbfa5c00e6be3f1dceabe33078499e332de58ff.tar.zst
coredns-cfbfa5c00e6be3f1dceabe33078499e332de58ff.zip
plugin/etcd: propagate recursion flag properly (#2254)
When fetching records via the etcd plugin, the recursion flag was never set properly according to if the caller requested an exact record match or not. This cause problems especially in CNAME lookups, where recursion took place and a random RR was returned instead of the one that was specifically added for this key. Even when there is no service attached on the given path, it is still wrong to return a random one from the recursion. Fixing by using the `exact` flag to decide if recursion should be done.
Diffstat (limited to 'plugin/metrics/setup.go')
0 files changed, 0 insertions, 0 deletions