How do I switch DNS servers from the command line?
1:30 PM
To switch DNS servers to test what DNS responses are being handed out from other sources, you can perform the following:
Example Code - Switching DNS Servers
C:\Users\aslam >nslookup
Default Server: ns1.optimalondemand.com
Address: 209.34.84.227
> server 4.2.2.2
Default Server: vnsc-bak.sys.gtei.net
Address: 4.2.2.2
>
Example Code - Switching DNS Servers
C:\Users\aslam >nslookup
Default Server: ns1.optimalondemand.com
Address: 209.34.84.227
> server 4.2.2.2
Default Server: vnsc-bak.sys.gtei.net
Address: 4.2.2.2
>
0 comments