June 19, 2026

DNS Africa Resource Center

..sharing knowledge.

Where in the registry are the entries for the DNS servers located? – ITPro Today

January 8, 2000
A. The entries for the DNS servers are stored in the registry in the location HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTcpipParameters under the NameServer value, Each entry should be separated by a space. Using the Resource Kit utility REG.EXE the command to change would be as follows
reg update HKLMSystemCurrentControlSetServicesTcpipParametersNameServer="158.234.8.70 158.234.8.100"
where 158.234.8.70 and 158.234.8.100 were the addresses of the DNS servers you wanted to configure. Note it sets the value, it does not append so ensure you enter in the existing DNS servers as well as the new ones.
This may be useful for granting users access to the internet by remotely updating their registry to know which DNS servers to use.
John Savill

https://savilltech.net
May 8, 2024
Feb 15, 2024
Apr 9, 2024
Copyright © 2024 Informa PLC Informa UK Limited is a company registered in England and Wales with company number 1072954 whose registered office is 5 Howick Place, London, SW1P 1WG.

source

About The Author