How to change the dns from windows cmd

Configurare noua (How To)

Situatie

Solutie

Run the following command: netsh interface ip set dns name=”Ethernet” static 8.8.8.8

  • Replace “Ethernet” with the name of your network adapter
  • Replace 8.8.8.8 with your preferred DNS server

To add a secondary DNS: netsh interface ip add dns name=”Ethernet” 8.8.4.4 index=2.

Tip solutie

Permanent

Voteaza

(5 din 11 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?