Commit 776c0b3
authored
cache: ignore non-SRV responses during service discovery (#13203)
Backport of #13194
When discovering cache servers using `SRV` queries, sometimes DNS
servers return A or AAAA records. Change our resolver to match the
behavior of the built-in go resolver and ignore any non-SRV responses.
Fixes #12713
Pulls in grafana/dskit#775
Signed-off-by: Nick Pillitteri <nick.pillitteri@grafana.com>1 parent 62b8bf5 commit 776c0b3
File tree
5 files changed
+13
-5
lines changed- vendor
- github.com/grafana/dskit/dns/miekgdns
5 files changed
+13
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
561 | 561 | | |
562 | 562 | | |
563 | 563 | | |
564 | | - | |
565 | | - | |
| 564 | + | |
| 565 | + | |
566 | 566 | | |
567 | 567 | | |
568 | 568 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments