netsh interface ipv4 add dnsserver name=<name of primary DNS server> address=<IP address of the primary DNS server> index=1 that is wrong, the right command is netsh interface ipv4 add dnsserver name=<name or ID of the network interface Card> address=<IP address of the primary DNS server> index=1
↧