Quickly Configure DNS Server IPs From Windows Command Prompt

Setting DNS server IP addresses through Windows command prompt
The common way to set IP addresses for primary and secondary DNS  servers in Windows is through Network and Sharing Center > Change Adapter Settings followed by selecting “Properties” of the specific adapter and then configuring IP settings. All of the above can be done through just two lines from Windows command prompt. Suppose DNS server IPs to be set are 208.67.220.220 and 208.67.222.222...