My 'netstat' check is showing strange content

Page 2 of 2 FirstFirst 12

  1. Posts : 6,830
    Windows 7 Ultimate 32-Bit & Windows 7 Ultimate 64-Bit
       #11

    Hi Melita

    If you want to reset your DNS try the steps below

    Open Notepad
    Copy/paste the bolded text (below) into Notepad:

    Code:
    @Echo off
    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
    cls
    echo Script finished.
    pause
    del %0
    On the Notepad Menu, Click File -> Save As
    in the "Save as type" Box: Use the pull down menu set the "Save as type" to "All Files (*.*)"
    In the File Name box type: reset.bat
    Then, save reset.bat to your Desktop

    Right-click the reset.bat icon on your desktop and & Select "Run as Administrator"



    Added : Didn't see that the thread was Marked as Solved . Ignore the steps above . Thank You.
      My Computer


  2. Posts : 290
    Windows 7 Home Premium 64bit
    Thread Starter
       #12

    Thank you very much for this. I just marked the thread as 'unsolved'.

    All help is most welcome. In fact I was giving some thought to DNS settings too but I don't know much about it. I have been using Open DNS for some time, after deleting the ISP's DNS settings. Could you please tell me what is achieved by resetting DNS. What happens when DNS is reset.

    In future I must wait for a few days before I mark a post as 'solved'.

    Kind regards,
      My Computer


  3. Posts : 8,608
    Windows 7 Ultimate 32bit SP1
       #13

    Sometimes a bad DNS entry will be cached, so you will need to 'flush' the cache.

    Also, if your Hosts file get hijacked or corrupted, you will want to repair it.


    clkads.com is a 'search'/browser adware (hijacker)
      My Computer


  4. Posts : 6,830
    Windows 7 Ultimate 32-Bit & Windows 7 Ultimate 64-Bit
       #14

    Hi Melita

    Here is some reading for you

    http://ask-leo.com/how_does_flushing...whats_dns.html
      My Computer


  5. Posts : 290
    Windows 7 Home Premium 64bit
    Thread Starter
       #15

    Jacee said:
    Sometimes a bad DNS entry will be cached, so you will need to 'flush' the cache.

    Also, if your Hosts file get hijacked or corrupted, you will want to repair it.


    clkads.com is a 'search'/browser adware (hijacker)
    In fact the Microsoft Malicious Software Removal Tool reset the hosts file to default status when it did the scan. So I am OK with that. I m going to attend to the DNS cache now.

    Thank you,

    Regards,
      My Computer


  6. Posts : 290
    Windows 7 Home Premium 64bit
    Thread Starter
       #16

    VistaKing said:
    Thank you for this most educational tutorial about DNS.

    (1) What is the difference between making the 'reset.bat' file to do this, as shown in your previous post, and doing it the way it is shown in your link, [C:\] ipconfig /flushdns, with the command prompt?

    (2) If I am to make the bat.file, what do I do after that to flush the DNS cache? I have never used a bat file before

    Regards,
      My Computer


 
Page 2 of 2 FirstFirst 12

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 15:45.
Find Us