Commit 63a5998
committed
chore(testbed): make smoke_edns.sh self-contained + verified end-to-end
- Pre-install tcpdump in agents/Dockerfile so smoke_edns.sh doesn't need
external network access at runtime (the testbed agent containers are
intentionally pinned to the internal DNS topology with no upstream
resolver, so apt-get install at smoke time can't fetch packages).
- Update the smoke_edns.sh probe call to use the new v2 CLI flags
(--realm / --transport / --min-trust / --intent-class / --parallelism
/ --deadline-ms), matching the two-axis selector taxonomy.
- Tighten the result-check shell logic so `set -euo pipefail` doesn't bail
early when grep doesn't find the marker on a real failure.
End-to-end verified locally against bind-orga (stock BIND9 9.20). The
agent-hint OPT record (code 0xff96 = 65430) reaches the authoritative on
all three discovery query paths — index TXT, SVCB, capabilities TXT — and
the wire payload matches the design doc bit-for-bit:
0xff96 (option-code) 0x002b (length=43)
0x00 (VERSION) 0x06 (SELECTOR-COUNT)
01 04 "prod" realm
02 03 "mcp" transport
04 06 "signed" min_trust
10 0a "invocation" client_intent_class
12 01 "4" parallelism
13 05 "30000" deadline_ms
Stock BIND9 returns the answer set without an AgentHintEcho — correct
behaviour for an inert-to-the-option authoritative, and the client's
"no upstream filtering happened" fallback path engages cleanly.
Signed-off-by: Layer8 <NWillAU900@gmail.com>1 parent 8fe0bb5 commit 63a5998
2 files changed
Lines changed: 16 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
31 | 32 | | |
32 | | - | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
43 | 46 | | |
44 | 47 | | |
45 | 48 | | |
46 | 49 | | |
47 | 50 | | |
48 | | - | |
49 | | - | |
| 51 | + | |
50 | 52 | | |
51 | 53 | | |
52 | 54 | | |
53 | | - | |
54 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
55 | 58 | | |
| 59 | + | |
56 | 60 | | |
57 | 61 | | |
58 | 62 | | |
| |||
0 commit comments