Question : Command line to set my Preferred and Alternate DNS Servers

Is there a command line command to set my Preferred and Alternate DNS Servers in Windows XP?

Thank you.

Answer : Command line to set my Preferred and Alternate DNS Servers

use netsh interface ip add dns "Local Area Connection" 192.168.0.3 index=1
for primary and
netsh interface ip add dns "Local Area Connection" 192.168.0.2 index=2
for secondary dns

maybe you have to delte the values first so
use netsh interface ip delete dns "Local Area Connection" all
first
Random Solutions  
 
programming4us programming4us