Jump to content


Photo

set dns using cmd


  • Please log in to reply
3 replies to this topic

#1 zodehala

zodehala

    Lurker

  • Members
  • Pip
  • 4 posts
  • OS:non-selected

Posted 10 October 2009 - 08:31 PM

i am using following command to set dns but i cant secondary dns why ?

netsh interface ip set dns name="lan" static 208.67.221.221
netsh interface ip add dns name="lan" 208.67.220.220 index=2


#2 NIM

NIM

    Vigilant

  • Administrator
  • 3,924 posts
  • OS:Windows 8 x64

Posted 11 October 2009 - 05:00 AM

We're using this for our group policy and it's working properly.

netsh int ip set dns "Local Area Connection" static IPADDRESS
netsh int ip add dns "Local Area Connection" IPADDRESS

#3 zodehala

zodehala

    Lurker

  • Members
  • Pip
  • 4 posts
  • OS:non-selected

Posted 11 October 2009 - 11:04 AM

We're using this for our group policy and it's working properly.

netsh int ip set dns "Local Area Connection" static IPADDRESS
netsh int ip add dns "Local Area Connection" IPADDRESS



many many thanx

#4 Ahmed Baidak

Ahmed Baidak

    Lurker

  • Members
  • Pip
  • 1 posts
  • OS:Windows XP Pro

Posted 01 May 2010 - 09:48 AM

thanks alot




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users