If I go to network adapters, right click, properties, IPV4, "use dns" and enter some addresses, where does Windows store it?

dns entry list

Does it store in the registry? Some physical file? Is it possible to edit the entries without opening all those windows?


They are stored in the registry:


NameServer is/are the value(s).

You can use Powershell to set these values:

Set-DnsClientServerAddress -InterfaceIndex 12 -ServerAddresses ("","")

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.