On A Windows machine, you can use the netsh command. <span>netsh interface ip set dns name="Local Area Connection" static 208.67.222.222
All the steps below means you have access to the router via Telnet or physical access and it already has a valid configuration (except the DNS) On a Cisco Router is: </span><span>Step 1: <span>enable </span></span><span>Step 2: <span>configure <span>terminal </span></span></span><span>Step 3: <span>Do one of the following: <span><span>ip domain name name </span><span><span>ip domain list </span><span>name </span></span></span></span></span><span>Step 4 : Device(config)# ip name-server 172.16.1.111 172.16.1.2</span>