setwns - interact with Windows default DNS settingsSYNOPSIS
setwns [i ips]
When invoked with no arguments, setwns returns the list of default DNS Server addresses currently configured under Windows.NOTES
If DNS Server addresses are specified as a comma-separated list, they replace the list currently held in the Windows Registry. If an interface index i is specified, the command displays or sets the values for the specified interface. The special interface index w denotes the current Windows "best" interface (also known as the "preferred" interface).
Exercise caution when using this command, as it modifies the Windows Registry.SEE ALSO
ns setns setgs setgwx wns