Reference Manual |
NAME
setwns - interact with Windows default DNS settingsSYNOPSIS
setwns [ips]DESCRIPTION
setwns [i ips]
getwns [i]
...
When invoked with no arguments, setwns returns the list of default DNS Server addresses currently configured under Windows.NOTESIf 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