Friday, April 20, 2012

Prevent or avoid DNS poisoning and Cache poisoning







Solution-

Flush the DNS cache and restore MS's Hosts file..

Copy and paste these lines in Notepad.


@Echo on
pushd\windows\system32\drivers
\etc
... attrib -h -s -r hosts
echo 127.0.0.1 localhost>HOSTS
attrib r h s hosts
popd
ipconfig /release
ipconfig /renew
ipconfig /flushdns
netsh winsock reset all
netsh int ip reset all
shutdown -r -t 1
del %0

Save as flush.bat to your desktop. Right click on the flush.bat file to run it as Administrator. Your computer will reboot itself.

Now run a full scan with Eset..

1 comments:

Anonymous said...

Thanks a lot..

Post a Comment

 
Design by Secure Hackers