Commit 63589e5
* Fix Quad9 DNS resolver: handle A/AAAA/CNAME records properly to avoid visualizer errors (#2959)
* Fix: Quad9 DNS resolver retry logic and DNS visualizer key error
* Fix: DNS visualizer handle missing/empty 'resolutions' (#2959)
Ensure visualizer handles analyzer reports without 'resolutions' and works with normalized
records from Quad9 resolver.
* Implement Quad9DNSResolver with JSON response parsing
Switched the Quad9DNSResolver to use the Quad9 DoH JSON API instead of
raw DNS wire parsing. This makes the analyzer simpler and aligned with
maintainer’s request.
The response is now parsed from the "Answer" section of the JSON to extract A record resolutions, while preserving retry and error handling logic.
Also restored the missing comment for clarity.
---------
Co-authored-by: Daniele Rosetti <[email protected]>
Co-authored-by: pranavshukla <[email protected]>
1 parent a7fd60f commit 63589e5
File tree
2 files changed
+7
-9
lines changed- api_app
- analyzers_manager/observable_analyzers/dns/dns_resolvers
- visualizers_manager/visualizers
2 files changed
+7
-9
lines changedLines changed: 5 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
38 | | - | |
| 37 | + | |
39 | 38 | | |
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
43 | 42 | | |
44 | | - | |
45 | 43 | | |
46 | 44 | | |
47 | 45 | | |
48 | 46 | | |
49 | 47 | | |
50 | | - | |
| 48 | + | |
51 | 49 | | |
52 | | - | |
53 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
54 | 53 | | |
55 | 54 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
| |||
68 | 67 | | |
69 | 68 | | |
70 | 69 | | |
71 | | - | |
72 | | - | |
| 70 | + | |
| 71 | + | |
73 | 72 | | |
74 | 73 | | |
75 | 74 | | |
| |||
0 commit comments