Expand description
Multi-perspective DNS resolution.
For a given hostname, query each connected SSH host’s resolver plus the local Mac’s resolver in parallel. Useful for spotting DNS drift — e.g. internal vs public split-horizon, or stale caches on a specific host.
Implementation: dig +short <name> <type> on the remote (cheap and
universally available). Local perspective uses tokio::net::lookup_host
so we don’t shell out for the most common path.
Structs§
Enums§
Functions§
- dns_
resolve_ local - Resolve from the local Mac.
tokio::net::lookup_hostonly handles A/AAAA; non-address record types fall back to spawningdiglocally. - dns_
resolve_ remote - Resolve from one remote SSH host using
dig +short.