pub fn dns() -> Result<Dns>Expand description
The DNS servers this machine is configured to use.
println!("{:?}", sys_lib::net::dns().map(|d| d.servers));ยงErrors
TooLarge past 64 servers or 64 search domains; NotFound without a
resolver configuration; Unsupported where the OS has none to read.