Expand description
§DNS commands
Tauri commands that surface the Mist-managed DNS server
(Hickory) to the webview - server state, zone snapshot,
forward allowlist, manual resolution. The DTOs and command
handlers live in sibling files; the wire-bound names match
the file names so the invoke_handler! registration in
Binary/Main/Entry.rs is a 1:1 mapping.
Modules§
- DnsHealth
Status - Aggregated DNS health snapshot (server / zone / forward
status + most recent error) returned by
dns_get_health_status. - DnsResolution
Result - Result envelope from a manual DNS resolution test
(
dns_resolve). Carries the resolved address list and a success flag so callers can branch without parsing strings. - DnsServer
Info - Basic DNS server information returned to the webview by
dns_get_server_info. - Forward
Allow List - Allowed external domains the DNS server may forward queries
to. Returned by
dns_get_forward_allowlist. - Startup
Time - DNS server startup-time storage. The wall-clock instant the
Hickory server bound its UDP socket is captured once and
returned to the webview via
dns_get_server_info. - Zone
Info - Authoritative-zone snapshot returned by
dns_get_zone_info: origin, record list (one entry perZoneRecord::Struct), and DNSSEC presence flag. - Zone
Record - Single DNS zone record (name / type / TTL / data) returned
inside
ZoneInfo::Struct. - dns_
get_ forward_ allowlist dns_get_forward_allowlistTauri command - returns the external domains the forwarder is allowed to query.- dns_
get_ health_ status dns_get_health_statusTauri command - aggregated server / zone / forward status snapshot.- dns_
get_ server_ info dns_get_server_infoTauri command - returns port, running flag, and startup time.- dns_
get_ zone_ info dns_get_zone_infoTauri command - returns the staticeditor.landzone snapshot (records + DNSSEC flag) used by the diagnostic panel.- dns_
health_ check dns_health_checkTauri command - thin wrapper overdns_get_health_statusthat flattens to aboolfor automated monitoring.- dns_
resolve dns_resolveTauri command - manual resolution helper used by the diagnostic panel and bydns_test_resolution.- dns_
test_ resolution dns_test_resolutionTauri command - thin wrapper overdns_resolvethat flattens to aboolfor automated health-check loops.