Windows XP DNS error

  • Thread starter Thread starter iced volvo
  • Start date Start date
I

iced volvo

Hi

A quick post to tell people about a fix to the "DNS error" in windows
XP. I had tried all the "cache" fixes with no joy. However this works
for me:

Control Panel -> Admin Tools -> Services

Find DNS Client and Stop it, wait a few seconds. The start DNS CLient
again. Can continue without rebooting or reconnecting.

Works for me

jon
 
iced volvo said:
Hi

A quick post to tell people about a fix to the "DNS error" in windows
XP. I had tried all the "cache" fixes with no joy. However this works
for me:

Control Panel -> Admin Tools -> Services

Find DNS Client and Stop it, wait a few seconds. The start DNS CLient
again. Can continue without rebooting or reconnecting.

Works for me

jon

Line 68 right side at this link works as well :-)
http://www.kellys-korner-xp.com/xp_tweaks.htm
 
Nope it doesn't its just the cache fix.

A VBS script to do this for you (join strngs back together in
Notepad):

strComputer = "."
Set objWMIService = GetObject("winmgmts:" &
"{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colServiceList = objWMIService.ExecQuery("Associators of " &
"{Win32_Service.Name='Dnscache'} Where " &
"AssocClass=Win32_DependentService " & "Role=Antecedent" )
For each objService in colServiceList
objService.StopService()
Next
Wscript.Sleep 10000
Set colServiceList = objWMIService.ExecQuery ("Select * from
Win32_Service where Name='Dnscache'")
For each objService in colServiceList
errReturn = objService.StopService()
Next

Wscript.Echo "Stop Completed"

strComputer = "."
Set objWMIService = GetObject("winmgmts:" &
"{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colServiceList = objWMIService.ExecQuery _
("Select * from Win32_Service where Name='Dnscache'")
For each objService in colServiceList
errReturn = objService.StartService()
Next
Wscript.Sleep 10000
Set colServiceList = objWMIService.ExecQuery("Associators of " &
"{Win32_Service.Name='Dnscache'} Where " &
"AssocClass=Win32_DependentService " & "Role=Dependent" )
For each objService in colServiceList
objService.StartService()
Next

Wscript.Echo "Start Completed"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top