Clear/Flush DNS cache on Windows Mac and Linux

how to setup and configure simple dns server in debian linux Clear/Flush DNS cache on Windows Mac and LinuxBeing a server administrator I have to deal with a hell lot of ip address and domain names. One of the major problem that I face while configuring a server is sometimes I have to change ip addresses to different domain names for certain purposes and when you go to test if you have successfully established a connection or not the computer gives you an error just because it still has that old ip address in the memory and is constantly trying to connect to a dead ip.

This might be a useful feature for average users who visit Facebook and YouTube dozen of times a day as it reduces the time the browser takes to download pages from the servers of the websites by eliminating the need for a DNS server by caching the most visited url.

So if you are a server admin like me or are a newbie in this field and are facing the same problem clearing/flushing your DNS cache may do your job.

To clear dns in windows: Go to All Programs -> Accessories -> Command Prompt or Go to Run and type cmd. Once in there type

ipconfig /flushdns

Mac and Linux both being UNIX based system have the same method to do this.

For Mac go to Applications -> Terminal

For Linux press Alt+F2 and type in gnome-terminal

 

Then give the command

dscacheutil -flushcache

This will clear all your DNS cache and should solve your problem If not have a look at your DNS server.

Ashmeet Singh

I have just passed class 12 and am looking forward to making it into a good college. I have also been the writer of many blogs such as TechnoDesi,NewtrojansBlog,GammersLane etc. and this blog is my new endeavour in the field of technology.

You may also like...

7 Responses

  1. Why use Hostgator Web Hosting to host your website.

    The very thing that is magnetizing is that Hostgator provides the
    facility of cpanelx that is used to control your website.

    Besides, the company also offers a 45-day money back guarantee
    if it fails to keep its commitment of providing the uptime guarantee for the websites.

  2. First off I would like to say wonderful blog!
    I had a quick question that I’d like to ask if you don’t mind.
    I was interested to find out how you center yourself and clear your head prior
    to writing. I have had a tough time clearing my thoughts in getting my thoughts out.
    I truly do enjoy writing but it just seems like the first 10
    to 15 minutes are usually lost just trying to figure out how to begin. Any suggestions or tips?
    Appreciate it!

    My webpage: rayban sunglasses

  3. slow aj bos jika ingiin menang di game ini

  4. Rolet online says:

    Well I definitely liked reading it. This article provided by you is very effective for correct planning.

  5. Very good blog post. I absolutely love this site. Thanks!

  6. Have you been a lover of online slot gambling games?
    This game has existed for 100s of years but continues to be
    one of the favourite games in Usernesia even in luxury gambling
    places like Vegas or Macau, slot machines are always neatly arranged waiting for fans to be able to levers and win jackpots that
    reach billions of rupiah..

    But , did you know if this game was primarily considered a flop game?
    Yes, at the starting of this game created by the creator named Charles August Fey in 1894 in the United States, this model was intended as an computerized poker game machine that could be moved using coins.

    After trying to build his idea into fact, Fey finally gave up and considered his discovery a failing.
    But who would have thought that all this machine turned out to be one of the most widely used video games in the world.
    Not only in slot gambling video games provided by wagering houses
    but also the concept utilized by various games as a “bonus game”.

    This is where the game relating to the RNG or Arbitrary Number Generator was initiated, where the machine will assign random values ​​that will determine what
    you will get each and every round of the game.
    Not only slots but also video games like virtual sports activities or bonus
    games like gacha also use this kind of concept.

  7. Franklyn says:

    Advantages of Playing Slots from Depo168
    Playing slot machines is very well-known today as well as wanted after.
    Although there are many online online games that are likewise financially profitable.
    One of the reasons for this is because slots are much easier to
    play without downloading a great application.

    Fashionable of young folks who are familiar with devices is
    a new promising market. That is very simple to attract the attention of users by providing
    various benefits. Almost all bookie sites offer numerous promising advantages for users.

Leave a Reply to Bukausernesia Cancel reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>