Minimal implementation to get System DNS Server (IPv4 only)
This implementation uses the winapi function GetNetworkParams and should work for Windows.
References:
Procs
proc getSystemDnsServer(): string {....raises: [CatchableError], tags: [], forbids: [].}
- Returns the IPv4 used by the system for DNS resolution. Otherwise it returns an empty string "". Source Edit