Skip to content

Commit 4f41361

Browse files
committed
docs: add dnst-scanner resolver fetcher issue draft
1 parent 4038520 commit 4f41361

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Resolver List Fetcher
2+
3+
**Depends on:** #1 (Project Scaffolding)
4+
5+
## Summary
6+
7+
Fetch raw resolver IP list from ir-resolvers repository or accept custom input file.
8+
9+
**Motivation:** Scanner needs a source of resolver IPs to test. Default source is ir-resolvers repo, but custom lists should be supported for flexibility.
10+
11+
## Design
12+
13+
- Fetch from GitHub: `https://raw.githubusercontent.com/net2share/ir-resolvers/main/resolvers.txt`
14+
- Support custom input file via `--input` flag
15+
- Env var override for default source URL: `DNST_SCANNER_RESOLVERS_URL`
16+
- Env var override for local file path: `DNST_SCANNER_RESOLVERS_PATH` (skips download)
17+
- Parse IP list (one IP per line, skip comments/empty lines)
18+
- Validate IP format before passing to scanner

0 commit comments

Comments
 (0)