[Tutorial] How to flush your DNS cache [From The Ender Castle]

Discussion in 'General Discussion / Real life stuff' started by ItsLucas, Sep 30, 2014.

Thread Status:
Not open for further replies.
  1. ItsLucas

    ItsLucas Agent V | Veigar Donator

    Messages:
    489
    Likes Received:
    261
    Minecraft:
    ItsLucas
    Recently @ItsHarry has already fixed the TS server, and he said that you may need to flush your dns cache.

    Due to someone don't know how to do it, I will list the commands here.

    For Windows:
    1: Open your command prompt.
    2: Type "
    ipconfig /flushdns".
    For Mac OS X:
    1: Open your "Terminal".
    2: Type "
    dscacheutil -flushcache".
    For GNU/Linux:
    1: Open your "Terminal".

    2: Type "/etc/init.d/nscd restart" or "service nscd restart". (You may need to add a 'sudo' before this command so make sure that you have sudo or root access).

    Hope this helps you guys! :D
     
    Last edited: Sep 30, 2014
  2. _MadisonBarks

    _MadisonBarks THAT furry Donator

    Messages:
    1,966
    Likes Received:
    2,746
    This doesn't always work, as Linux does not always have a local DNS cache server, nor do all Linux derivatives use nscd to cache locally.


    Also, if it's an Upstart-based or init.d-based system, you should be able to use "service ____ restart", which properly takes care of stuff.
     
  3. ItsLucas

    ItsLucas Agent V | Veigar Donator

    Messages:
    489
    Likes Received:
    261
    Minecraft:
    ItsLucas
    Thx for the tip. Changes has been made. :p
    One more thing. What's the exact way to clear up linux dns cache? My way is working for common distros, and the person who install technical distros certainly know how to do that.
     
  4. Nihangsingh

    Nihangsingh Guest

    I cant understand a word your saying :eek:
     
    ItsLucas likes this.
  5. ItsLucas

    ItsLucas Agent V | Veigar Donator

    Messages:
    489
    Likes Received:
    261
    Minecraft:
    ItsLucas
    whaaat? impossible... Isn't it clear enough?
     
  6. Nihangsingh

    Nihangsingh Guest

    Yea. Its clear but its hard to understand if your 10 years old, like me :P
     
  7. ItsLucas

    ItsLucas Agent V | Veigar Donator

    Messages:
    489
    Likes Received:
    261
    Minecraft:
    ItsLucas
    Ehh.... What a pity. :(
     
  8. Fluttershy's Assassin

    Fluttershy's Assassin

    Messages:
    2,520
    Likes Received:
    2,181
    Thanks for the info! I think @John_0696 had TS troubles too.
     
    ItsLucas likes this.
  9. ItsHarry

    ItsHarry Owner Staff Member Owner

    Messages:
    9,372
    Likes Received:
    23,362
    Minecraft:
    ItsHarry
    Well, this is most likely unnecessary now as over 24 hours have passed, your DNS should be pointing at the correct IP now.
     
    Sakujo, Rila, ItsLucas and 2 others like this.
Thread Status:
Not open for further replies.