Skip to content

Commit 3b57305

Browse files
committed
docs: add dnstc scanner orchestration issue draft
1 parent e389509 commit 3b57305

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Scanner Orchestration
2+
3+
**Depends on:** #2 (Binary Manager)
4+
5+
## Summary
6+
7+
Run dnst-scanner as subprocess, provide configuration, and process output to update resolver pool.
8+
9+
**Motivation:** Scanner discovers working resolvers. dnstc needs to orchestrate scanner runs and consume results to keep resolver pool updated.
10+
11+
## Design
12+
13+
**Scanner control:**
14+
- Start dnst-scanner as subprocess
15+
- Pass configuration via CLI flags
16+
- Capture stdout/stderr
17+
- Parse JSON output for resolver list
18+
19+
**Configuration passed to scanner:**
20+
- Health check domains (from dnstc config)
21+
- Worker count and timeout
22+
- Input source (ir-resolvers or custom)
23+
24+
**Output handling:**
25+
- Parse JSON results
26+
- Update internal resolver pool
27+
- Trigger DNS proxy config reload

0 commit comments

Comments
 (0)