Hi:

I ran an online malware/adware/spyware detector test and deleted some spywares from my PC. After I had done this, I was unable to connect to the Internet. I am getting DNS error. I am using Cable internet broadband. Can some body pls help me with this. I am totally new to computers. Can you help me fix this? My hardware engineer told that my software is corrupted and that I need to reinstall it.

tx
Pavan
:cry:

Dani AI

Generated

As and asked, post the exact DNS error and your Windows version. That will speed diagnosing. Meanwhile, here are focused, safe checks and fixes to try before reinstalling Windows.

First, determine whether it is a DNS problem or general connectivity. Open a Command Prompt (Run as administrator) and run:

ping 8.8.8.8
ping google.com
ipconfig /all

If the first ping works and the second fails, DNS is the issue. In ipconfig /all look for the adapter in use and the listed "DNS Servers" and "Default Gateway."

Common, quick repairs (run Command Prompt as administrator and reboot after the last step):

ipconfig /flushdns
netsh winsock reset
netsh int ip reset

These commands clear the DNS cache, restore Winsock entries (often altered by malware), and reset the TCP/IP stack. Reboot after running them.

Also check these without reinstalling:

  • Open the hosts file at C:\Windows\System32\drivers\etc\hosts with Notepad (Run as administrator) and remove any suspicious lines redirecting common sites.
  • In Network Connections, view IPv4 properties and temporarily set DNS servers to a known public pair (for testing): 8.8.8.8 and 8.8.4.4 (Google) or 1.1.1.1 (Cloudflare).
  • Power-cycle the modem/router (unplug 30 seconds) and test another device on the same network to tell whether the problem is the PC or the ISP/router.

If problems persist, note whether only this PC is affected. If so, try Safe Mode with Networking, use System Restore to a point before the cleanup, or reinstall the network adapter driver from Device Manager. Backup important files before any major changes. Post the exact error text and the outputs from the commands above for more targeted steps.

Recommended Answers

All 2 Replies

What's the specific error that you get and what is giving the error?

What's the specific error that you get and what is giving the error?

Yes. Please tell us the exact error you receive; also tell us which version of Windows you are using.

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.