Tech Support > Microsoft Windows > Performance/Maintainence > DNS flush failed during execution
DNS flush failed during execution
Posted by HartsVideo on March 30th, 2006


Hi,

I have Windows XP. I attempted to flush DNS because there are times that I
can't upload: Start > Run> cmd > ipconfig/flush. It wouldn't work. I
received a message that says "Could not flush the DNS Resolver Cache:
Function failed during execution."

I ran numerous anti-virus/spyware/malware programs, some in safe mode. It
took 5 hours but no viruses/worms/malware/adware was found on my pc. I also
ran PC on Point, which checks for program problems and file fragments and
eliminates them. I ran RegSeeker to clean my registry and streams, defragged,
and ran Disk Cleanup. I also ran Check Disk but no problems were found.

Then I tried ipconfig/flush again and again I received the same message.

Is there something wrong with my programming or is the command
incorrect/incorrect for Windows XP?

Denise

Posted by Wesley Vogel on April 1st, 2006


ipconfig /displaydns and ipconfig /flushdns do *not* work with the DNS
Client service *not* running.

You have to have the DNS Client service running in order for
ipconfig /displaydns and ipconfig /flushdns to work properly.

-----
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\>ipconfig /flushdns

Windows IP Configuration

Could not flush the DNS Resolver Cache: Function failed during execution.
----

Open Services...
Start | Run | Type: services.msc | Click OK |
Scroll down to and double click DNS Client | Set startup type to Manual |
Click Apply | Click the Start button | When the DNS Client service starts,
click OK and close Services

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:0AEF83D4-5F3B-4621-93E3-56A77B064720@microsoft.com,
HartsVideo <HartsVideo@discussions.microsoft.com> hunted and pecked:

Posted by mfazlulhaque@gmail.com on April 1st, 2006


Windows could not finish repairing the problem because the following
action cannot be completed.

Cleaning the DNS cache.

For assistance, contact the person who managees your network.


Solution:

1) Click Start
2) Click RUN
3) Type services.msc in the text box
4) Click OK or hit Enter
5) Scroll down to DNS Client and double click it
6) Select General tab and select Startup type: Automatic
7) Click Apply
7) Finally at Service Status Click Start (if it is stopped)


Hope this will solve the problem.

Thanks

Haque
mfazlulhaque@gmail.com

Posted by HartsVideo on April 1st, 2006


Hi Wesley,

Thanks for the info. DNS Client was disabled and I set it to manual. Would
it be a good idea to set it to automatic?

Denise


"Wesley Vogel" wrote:

Posted by HartsVideo on April 1st, 2006


Thanks for responding. You gave me the same info as the gentleman who posted
right before you. I had asked him if I could set it to automatic but you
answered my question.

Denise


"mfazlulhaque@gmail.com" wrote:

Posted by Wesley Vogel on April 1st, 2006


Hi Denise,

As near as I can tell, the only thing the DNS Client service is needed for
is ipconfig /displaydns and ipconfig /flushdns. Unless your machine is part
of a network domain, then it may be needed for other stuff that I know
little about.

I have DNS Client service set to Manual and it never starts by itself, a
good indicator that it is not needed. I only start the service if I want to
use ipconfig /displaydns or /flushdns.

You can do whatever you like.

However, if you are using a large custom HOSTS file, having the DNS Client
service set to Automatic may slow down your internet access.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:BC1CBB64-440F-46AF-87A2-19233B08E4D0@microsoft.com,
HartsVideo <HartsVideo@discussions.microsoft.com> hunted and pecked:

Posted by HartsVideo on April 1st, 2006


I don't know anything about it or how it would affect my pc's performance so
I'll keep it set on manual. It did improve the speed of my pc a lot, but
I've never flushed DNS before. It may be good to do it once in a while but
I'd rather control it under the circumstances you mentioned.

Thanks again. . . Denise



"Wesley Vogel" wrote:

Posted by Wesley Vogel on April 2nd, 2006


Keep having fun, Denise. :-)

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:F8F2FAE4-A166-48AC-B51B-26F86A75C432@microsoft.com,
HartsVideo <HartsVideo@discussions.microsoft.com> hunted and pecked:


Similar Posts