How to clear the DNS cache ?

Posted on 2004-11-23
Last Modified: 2013-12-19
I have an NT4 server with SP6a, up until a few weeks ago, users could use a web interface to upload GIF files (500k-1MB) to a hosted website, now it simply just does nothing for a few minutes and then 'page not found'
The hosting site recommend clearing cache on local IE6 PC without luck, change security settings on IE6 again yield same result, the users could upload GIF files that were uploaded before this problem started without any trouble, so I imagine this could be an cache problem, but there are no options to clear DNS cache, what should I be looking at and how to get pass this problem ?
Tried on another PC with same problem.

Question by:robertdims
    LVL 10

    Expert Comment

    Hi robertdims,
    ipconfig /flushdns

    LVL 4

    Author Comment

    Hi NA
    I tried that before I posted the question, but on the NT4S box when I do that, its just returns :

    Unrecongnized command line argument "flushdns"

    The box is patched to 6.0a and IIS4 with IE55

    Any other suggestions ?

    Many thanks
    LVL 13

    Accepted Solution

    The flushdns option was added in Windows 2000.  A reboot in NT 4.0 should serve the same purpose.  Before rebooting, I would check your hosts and lmhosts files.  They would exist in the C:\WINNT\SYSTEM32\DRIVERS\ETC directory.  You can open them with notepad.

    The hosts file, by default, should only have one entry ( for your localhost).  There may not be an lmhosts file, but an lmhosts.sam file instead (sample file).  If you see more than the entry I mentioned in the hosts file, you might try to rename this file to hosts.sav and then run this command from the command prompt:

    nbtstat -R

    This will tell the machine to reload the resolver cache (it re-reads the hosts file, if it exists).  See if that helps.


    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Sometimes you might need to configure routing based not only on destination IP address, but also on a combination of destination IP address (or hostname) and destination port number. I will describe a method how to accomplish this with free tools. …
    Trying to figure out group policy inheritance and which settings apply where can be a chore.  Here's a very simple summary I've written which might help.  Keep in mind, this is just a high-level conceptual overview where I try to avoid getting bogge…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    734 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

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now