Quickly Configure DNS Server IPs From Windows Command Prompt June 12, 2012 The common way to set IP addresses for primary and secondary DNS Â servers in Windows is through Network and Sharing Center > Change Adapter Settings...