Results 1 to 2 of 2

Thread: [How To] Clear your DNS Cache

  1. #1
    Matt's Avatar
    Matt is offline GlowHost Administrator
    Join Date
    Jan 2005
    Location
    Behind your monitor
    Posts
    5,963

    Default [How To] Clear your DNS Cache

    Clearing Your DNS Cache

    When you visit a website in your browser, your computer will store information about where this website lives on the Internet, so that you do not have to look it up again. This is similar to how your browser may cache files in your temporary internet files, except it is caching a website address instead.


    Sometimes the site you are looking for may move to a different IP address, and your computer may not have the latest location information about the site.



    You can use the instructions below to clear your DNS cache, ensuring you have the latest location information about all the websites you visit.

    Windows® 98, ME, 2000


    1. Open the Start menu.
    2. Go to Run.
    3. Type: ipconfig /flushdns
    4. Press Enter or Return, and your cache will be flushed.


    Windows® XP, Vista or Windows 7


    1. Open the Start menu.
    2. Go to Run.
    3. Type: ipconfig /flushdns
    4. Type: net stop dnscache
    5. Press Enter or Return, and your cache will be flushed.


    Windows 8

    1. Go to desktop and press on keyboard "Win" and "R" simultaneously.
    2. In the new window enter "cmd" and press enter key.
    3. You will see command line interface. Type following text:

    ipconfig /flushdns

    4. After that press enter. DNS cache will be cleared.

    More permanent options for Windows DNS Cache


    MacOS®


    1. Go to Applications.
    2. Go to Utilities.
    3. Open the Terminal application.
    4. Type: dscacheutil -flushcache
    5. Press Enter or Return, and your cache will be flushed.


    MacOS X (Leopard)


    1. Go to Applications.
    2. Go to Utilities.
    3. Open the Terminal application.
    4. Type: lookupd -flushcache
    5. Press Enter or Return, and your cache will be flushed.

    If you receive errors similar to "-bash: lookupd: command not found" on Step 4, you can try using the following command instead:

    dscacheutil -flushcache

    MacOS X (Mavericks)

    1. Start Launchpad.
    2. Type "terminal" and press enter.
    3. Type following command:

    dscacheutil -flushcache

    Press enter. Cache will be cleared.

    4. Type following command to restart local DNS server:

    sudo killall -HUP mDNSResponder

    Systems will ask you for admin password. If you don't know it, you can simply reboot your PC.

    Linux

    1. Open the Command Line Interface (CLI) using PuTTY or your favorite SSH client.
    2. Type: /etc/rc.d/init.d/nscd restart
    3. Press Enter or Return, and your cache will be flushed.


    -------------------------------

    Further information for Windows users:

    You can use the Ipconfig tool to view and to flush the DNS resolver cache. To view the DNS resolver cache, type ipconfig /displaydns at a command prompt. Ipconfig displays the contents of the DNS resolver cache, including the DNS resource records that are preloaded from the Hosts file and any recently queried names that were resolved by the system. After a certain time period, the resolver discards the record from the cache. The time period is specified in the Time to Live (TTL) associated with the DNS resource record. You can also flush the cache manually. After you flush the cache, the computer must query DNS servers again for any DNS resource records previously resolved by the computer. To delete the entries in the DNS resolver cache, type ipconfig /flushdns at a command prompt.
    Source: http://support.microsoft.com/kb/318803
    Last edited by AndrewGlow; 01-24-2014 at 10:51 AM.
    Send your friends and site visitors to GlowHost and get $125 plus bonus!
    GlowHost Affiliate Program | Read our Blog | Follow us on X |

  2. #2
    hero_hont's Avatar
    hero_hont is offline No longer a Newbie
    Join Date
    Aug 2010
    Posts
    5

    Default

    thanks Matt handsome..hihi
    Matt write this topic easy to understand,,
    Wish health and success...

Similar Threads

  1. Is DNS zone well config
    By Chino in forum WHM, Resellers, VPS and Dedicated Hosting Topics
    Replies: 2
    Last Post: 02-24-2015, 04:55 PM
  2. DNS resolution
    By rankinfile in forum General Support
    Replies: 2
    Last Post: 02-11-2005, 12:37 AM
  3. [DNS] What are your DNS Name Server details?
    By Matt in forum Knowledge Base
    Replies: 0
    Last Post: 01-18-2005, 03:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14