Results 1 to 4 of 4
  1. #1
    Rsync's Avatar
    Rsync is offline System Administrator(eUKhost.com)
    Join Date
    Mar 2007
    Posts
    335

    Thumbs up How to Clear/Flush DNS cache in Windows / Linux / Mac Machines

    DNS
    A DNS server resolves domain names into IP addresses. So when you request “eukhost.com” for example, the DNS server finds out the address for the domain, and sends your request the right way.

    DNS Cache Problem
    If you continually get DNS errors while trying to brows any site, but the same site on another computer on the same network is working fine. Then this problem is because of the DNS cache of the machine and you need to reload your DNS cache on that machine.

    Following is the process to Clear/flush DNS cache in Windows / Linux / Mac Machines

    To Clear/flush DNS cache in Microsoft Windows.
    Start >> Run >> type cmd
    In command prompt, type
    C:\> ipconfig /flushdns


    OR

    In command prompt, type
    C:\> net stop dnscache
    C:\> net start dnscache

    Once you run the command your Window DNS cache will Clear/flush.

    To Clear/flush the DNS cache in Linux, you need to restart the nscd daemon.
    You need login into the shell of your machine and type
    root@support [~]# cd /etc/rc.d/init.d
    root@support [/etc/rc.d/init.d]# ./nscd restart

    Once you run the command your linux DNS cache will Clear/flush.

    To Clear/flush the DNS cache in Mac OS.
    In your terminal, type
    For Tiger Mac
    $ lookupd -flushcache
    For Leopard Mac
    $ dscacheutil -flushcache

    Once you run the command your DNS cache (in Mac OS) will Clear/flush.

    Last edited by Stan; 07-02-2012 at 12:16.
    RsyNc.
    VPS Support Team

    VPS Hosting ||Cloud Hosting 100% UPTIME!
    Follow eUKhost on Twitter || Join eUKhost Community on Facebook
    MSN: johnr @ eukhost.com
    SKYPE: john_rodricks

  2. #2
    Marksfish is offline Forum Member
    Join Date
    Oct 2008
    Location
    Leeds
    Posts
    135

    Default

    There is a problem with this when runing the command on Vista. I finally found the answer myself today after months of frustration.

    If you go Start/ Programmes/ Accessories and find the command prompt icon. Hover the mouse over and right click, then select run as administrator. You can also make a desktop shortcut and right click / run as administrator from there.

    If you don't run the command as administrator you receive the following error:

    C:\Users\Admin>ipconfig/flushdns
    The requested operation requires elevation.

    Mark

  3. #3
    Rock's Avatar
    Rock is offline Technical Support (eUKhost.com)
    Join Date
    Oct 2006
    Location
    localhost
    Posts
    3,691

    Talking

    That is one of the good reasons I hate Vista Read further here : http://www.eukhost.com/forums/f17/grr-vista-6273/

    Rock _a.k.a._ Jack
    Windows Hosting || Windows Reseller Hosting
    Cloud Hosting 100% UPTIME! || Powerful Dedicated Servers
    Follow eUKhost on Twitter || Join eUKhost Community on Facebook

    For complaints, grievances or suggestions kindly email our FeedBack Dept.
    Proper action will be taken accordingly & instantaneously!

  4. #4
    danwall is offline Forum Member
    Join Date
    Sep 2009
    Posts
    1

    Default

    The same thing happens in Windows 7, you can simply click the start menu and type cmd to search for the command prompt, right click and and choose to run as administrator also - don't have to search through the various sub menus.

Thread Information

Users Browsing this Thread

There are currently 6 users browsing this thread. (0 members and 6 guests)

Tags for this Thread

Bookmarks

Posting Permissions

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

Disclaimer of Liability

The opinions or views posted on our forum by users do not necessarily represent the opinions or views of eUKhost Limited.

Our forum may contain hyperlinks to external websites not under our control and ownership. We do not endorse the content found on any external websites and we cannot guarantee the accuracy, reliability, availability and suitability of such websites and the content of those websites. Your access and use of any external websites is at your sole risk and responsibility. Please also be aware external websites will have differing terms and conditions, privacy and cookie usage policies to our website.