7

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?

1 Answer 1

11

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")

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .