6

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?

10

They are stored in the registry:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters

NameServer is/are the value(s).

You can use Powershell to set these values:

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

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.