?
Solved

Can not flush the DNS Resolver Cache.

Posted on 2003-12-02
15
Medium Priority
?
52,401 Views
Last Modified: 2012-06-21
I have Windows XP. Whenever I type "ipconfig /flushdns" I get "Could not flush the DNS Resolver Cache: Function failed during execution."  The reason I am trying to flush the DNS cache is because www.google.com and some other popular sites are no longer work. I have tried running both McAfee and Ad-aware and my computer is supposedly clean of any virus/spyware. Any help would be appreciated!!
0
Comment
Question by:flaffeboy
12 Comments
 
LVL 31

Accepted Solution

by:
qwaletee earned 340 total points
ID: 9862899
Check the C:\WINDOWS\SYSTEM32\DRIVERS\ETC\HSOS file (no extension on the HOSTS filename; and it might be C:\WINNT instead of C:\WINDOWS).
0
 
LVL 18

Assisted Solution

by:chicagoan
chicagoan earned 332 total points
ID: 9863193
sounds like spyware

check out
http://www.spychecker.com/spyware.html

SpyBot-S&D is my fave
0
 
LVL 41

Assisted Solution

by:stevenlewis
stevenlewis earned 332 total points
ID: 9863437
found this
I had the DNS Client stopped. I started it and ran ipconfig /flushdns again and this time it worked.
and while I'd vote on the hosts file, also found this
By default, the resolver accepts responses even from servers it did not query. This could present a possible security liability, as an unauthorized DNS server might pass along invalid resource records to misdirect DNS queries. This can be avoided by adding a DWORD value named QueryIpMatching with a value of 1 to the following location in the registry: HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ Tcpip \ Parameters
0
 The Evil-ution of Network Security Threats

What are the hacks that forever changed the security industry? To answer that question, we created an exciting new eBook that takes you on a trip through hacking history. It explores the top hacks from the 80s to 2010s, why they mattered, and how the security industry responded.

 
LVL 37

Assisted Solution

by:bbao
bbao earned 332 total points
ID: 9865281
0
 
LVL 6

Assisted Solution

by:Sebo2000
Sebo2000 earned 332 total points
ID: 9867035
try that it worked once for me:

1.      Open Registry Editor on a server with a DNS client service

2.      Go to HKEY_LOCAL_MACHINE on Local
Machine>System>CurrentControlSet>Services>Dnscache

3.      On the file menu select Registry>Save Key and Browse to a location to save
the file to and give it a File name, then click Save

4.      Copy the file saved to the server without the DNS client service

5.      Open Registry Editor on the server without the DNS client service

6.      Go to HKEY_LOCAL_MACHINE on Local Machine>System>CurrentControlSet>Services
and on the File menu select Edit>Add Key.  Type Dnscache for the Key Name and
click ok.

7.      Go to HKEY_LOCAL_MACHINE on Local
Machine>System>CurrentControlSet>Services>Dnscache

8.      On the file menu select Registry>Restore Key and then browse to the location
of the saved file.  Select the file and click Open.  Click OK on the Restore.

9.      Reboot the server without the DNS client service

10.      Go to Start>Programs>Administrative Tools>Services.  Look for the DNS
client service.  It should show up now.
0
 

Assisted Solution

by:yakcora
yakcora earned 332 total points
ID: 9887086
FixQhost.exe this is what you need you have a BHO

check your c:\windows\help\ folder if you have a hosts file there delete it and reboot. if it is not there search for "hosts" in your drives delete all except c:\windows\system32\drivers\etc <-- this is the real one

0
 
LVL 37

Expert Comment

by:bbao
ID: 9895480
sorry, could you tell me what is BHO?
0
 
LVL 18

Expert Comment

by:chicagoan
ID: 9895849
Browser Helper Object = SPYWARE
0
 
LVL 37

Expert Comment

by:bbao
ID: 9895866
o, i see. thanks. :)
0
 

Expert Comment

by:bjravishankar
ID: 15096674
Deleting hosts and lmhosts, changing the registry settings might help. But an other solution would be to create a new user account in case of a client system in a standalone or workgroup computer. it can be resolved
0
 

Expert Comment

by:malhy
ID: 22701830
1. Click Start, click Run, type services.msc, and then click OK.
2. In the list of services, click DNS Client.
3. Make sure that the Status column displays Started and that the Startup Type column displays Automatic.
4. If the service is not set to Started or if the startup type for the DNS Client service is not set to Automatic, follow these steps:a.  Right-click DNS Client, and then click Properties.
b.  In the DNS Client Properties dialog box, click the General tab, and then click Automatic in the Startup type list.
c.  Click Start, click Apply, and then click OK.
 
0
 
LVL 14

Expert Comment

by:Ionut A. Tudor
ID: 23578839
thanks malhy for services.msc, i disabled long time ago the DNS client, and now when i needed to flush it didn't worked. I put it on automatic and started it and it successfully flushed the DNS. Cheers
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
Tech spooks aren't just for those who are tech savvy, it also happens to those of us running a business. Check out the top tech spooks for business owners.
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question