nx_dns_client_probe.nx
buildroot/runtime/nx_dns_client_probe.nx
about
nx_dns_client_probe.nx -- substrate-side UDP DNS verifier.
Sends a real DNS query to 127.0.0.1:5353 + verifies the answer.
Used by bench/nx_dns_serve_loopback.sh as the live verification
step for the DNS daemon. Sovereign per cardinal: no dig, no
nslookup, no python; substrate talks to substrate.
Returns 0 on success (answer matches expected RDATA 192.0.2.42)
or a numeric error code per failure mode.
expect_exit: 0
dependencies 2 imports · 0 importers
imports: nx_syscalls_x86_64.nxnx_dns.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 15 | const SOCK_MAGIC_5353: i64 = 5353 |
| 17 | const SOCK_DGRAM_C: i64 = 2 |
functions
| 19 | func bytes_eq(a: *u8, b: *u8, n: i64) -> i64 |
| 28 | func main() -> i64 |