Alterar DNS no DOS

1 – Abra o prompt de comando DOS como Administrador

2 – Veja o nome das interfaces de rede

netsh interface show interface

3 – Defina o DNS primário e secundário(opcional)

netsh interface ip add dns name="interface-name-here" addr=8.8.8.8 index=1
netsh interface ip add dns name="interface-name-here" addr=8.8.4.4 index=2

4 – Atualize as configurações de DNS das interfaces de rede

ipconfig /flushdns
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s