pub fn detect_dns() -> Vec<String>Expand description
Returns the list of configured DNS nameserver addresses.
Linux/macOS: parses nameserver lines from /etc/resolv.conf.
Windows: runs PowerShell Get-DnsClientServerAddress.
Returns an empty Vec if nothing is found.