I have an XP client PC; IP config is set for DHCP, but DNS is set at Manual, and has a value entered. This value is not correct. All attempts to edit back to DHCP has failed. It just keeps going back to this static entry. I have deleted the value, selected the Auto option, I have uninstalled IP, I have uninstalled several applications which could be setting this DNS value, but have so far failed to delete this unwanted DNS value.

Any advice? My last resort is to rebuild the PC, I would rather not....

Thanks
Richard

Dani AI

Generated

— before rebuilding, try targeted troubleshooting. The symptom (IP on DHCP but the DNS box stubbornly shows a static server) is usually either: you’re editing the wrong connection, a leftover entry in the adapter’s Advanced DNS list, a registry “NameServer” left behind, or a startup/service (VPN, virtual-net driver or malware) that rewrites DNS on network events. ’s idea to recreate the connection can help — but check the Advanced/DNS settings and virtual adapters first. ’s rebuild is a last resort.

Quick checks to run now (open a command prompt and note the exact adapter name shown):

ipconfig /all
netsh interface ip show config
netsh interface ip set dns "Local Area Connection" dhcp
ipconfig /flushdns
ipconfig /registerdns

Replace "Local Area Connection" with the adapter name from ipconfig /all. If netsh ... set dns ... dhcp fails to persist, check TCP/IP Advanced > DNS in the GUI (remove any entries there) and inspect the registry (backup first): look under
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{GUID} for NameServer (static) or DhcpNameServer values and clear/delete the NameServer value for the interface that matches your DhcpIPAddress or IPAddress. Also check the global key ...Tcpip\Parameters\NameServer.

If a helper app or malware is reapplying settings, try these resets and a reboot:

netsh winsock reset
netsh int ip reset resetlog.txt

Then reboot.

If the setting still returns, boot Safe Mode with Networking and try changing DNS there (if it sticks, something in startup is changing it). Check for VPN/virtual adapters (VMware, VirtualBox, Hamachi, Cisco) and remove unused ones, review msconfig/Startup and Scheduled Tasks, and run an anti-malware scan. Recreate the NIC only after removing virtual adapters and checking the Advanced DNS entries — rebuilding the whole OS should be the very last step.

Recommended Answers

All 2 Replies

Member Avatar for Member #46692

I rebuild it.

Uninstall the NIC, reboot the computer, reinstall the NIC and create a new network connection with your settings.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.