Microsoft Windows [Version 6.0.6001] (C) Copyright 2006 Microsoft Corp. c:\windows>netsh interface ipv4 set dnsserver ?
Usage: set dnsserver [name=][source=]dhcp|static [[address=]|none] [[register=]none|primary|both]
Tag Value name - The name of the interface. source - One of the following values: dhcp: Sets DHCP as the source for configuring DNS servers for the specific interface. static: Sets the source for configuring DNS servers to local static configuration. address - One of the following values: : An IP address for a DNS server. none: Clears the list of DNS servers. register - One of the following values: none: Disables Dynamic DNS registration. primary: Register under the primary DNS suffix only. both: Register under both the primary DNS suffix, as well as under the connection-specific suffix.
Remarks: Sets DNS server configuration to either DHCP or static mode. Only when source is 'static', is the 'addr' option also available for configuring a static list of DNS server IP addresses for the specified interface.
set dnsserver name="Local Area Connection" source=dhcp set dnsserver "Local Area Connection" static 10.0.0.1 primary
NETSH / INTERFACE / IPV4 / SET / DNSSERVER
netsh interface ipv4 set dnsserver - Windows Vista - commandSets DNS server mode and addresses. - Windows Vista netsh, interface, ipv4, set, dnsserver, cmd, command, Windows, Vista