Flush DNS Cache on your Computer



Why choose wikiHow?
wikiHow marks an article as reader approved once we have received enough feedback to know that most readers were able to successfully complete the task. In this case, we have also received several testimonials from our readers, who told us how this article truly helped them.

How to Flush DNS

Two Methods:

This wikiHow teaches you how to clear your computer's DNS cache, which is a collection of recently visited websites' addresses. Clearing the DNS cache will usually solve "Page Not Found" errors and other DNS-related errors.

Steps

On Windows

  1. Open Start .Do so by clicking the Windows logo in the bottom-left corner of the screen, or by pressing .
  2. Typecommand promptinto Start.This will search your computer for the Command Prompt app.
  3. Click Command Prompt.It should be the first icon at the top of the Start window. Doing so opens the Command Prompt app.
  4. Type inipconfig /flushdnsthen pressEnter.Doing so will immediately clear your PC's DNS cache.
  5. Restart your web browser.You should now be able to connect to any DNS error-locked pages.

On Mac

  1. Open Spotlight .It's in the top-right corner of the screen.
    • You can also pressCommand+Spaceto open Spotlight.
  2. Typeterminalinto Spotlight.Doing so will search your Mac for the Terminal application.
  3. Click Terminal .It should be the first option at the top of the Spotlight results.
  4. Type the following code into Terminal:

    sudo killall -HUP mDNSResponder;say DNS cache has been flushed

    and pressReturn.This will run the DNS flush command.
  5. Enter your Mac's password if prompted.It's the password you enter when logging into your Mac. Doing so will complete the DNS flush process.
    • Terminal won't show your keystrokes as you type, but it will record them.
  6. Restart your web browser.You should now be able to connect to any DNS error-locked pages.

Community Q&A

Search
  • Question
    In Windows I entered the "ipconfig /flushdns" command and received the following: "The requested operation requires elevation." What does this mean?
    wikiHow Contributor
    Community Answer
    It is because you don't have administrative access. Open your cmd using administrator access (usually known as "Run As Administrator").
    Thanks!
  • Question
    Why do some websites work and others cannot be found?
    wikiHow Contributor
    Community Answer
    Your wifi firewall or the country may have some have censorship. Change your VPN to see if that works.
    Thanks!
  • Question
    Why can't I access Roblox? It says "This site can't be reached. The connection was reset."
    wikiHow Contributor
    Community Answer
    It may be your internet connection. Unplug the device, wait 30 seconds and plug it back in.
    Thanks!
  • Question
    I can't get into the website I want to because of the connection was reset. What should I do?
    wikiHow Contributor
    Community Answer
    Try to flushdns and maybe check your connection to the Internet. If not, check your firewall or browser, as both may be blocking your connection to the website.
    Thanks!
  • Question
    What do I do if I'm on mobile?
    wikiHow Contributor
    Community Answer
    It is very hard to do it on mobile, as many companies won't let you use a command prompt due to the operating system and applications being proprietary software.
    Thanks!
  • Question
    How can I flush a D.N.S. PC laptop or mobile device?
    wikiHow Contributor
    Community Answer
    On Windows, open Command Prompt and after the prompt, without the quotes, type in "ipconfig/flushdns".
    Thanks!
  • Question
    What if I'm getting a 502 gateway error NGINX/0.7.67 from any location?
    wikiHow Contributor
    Community Answer
    That means that the NGINX web server is either not properly configured, or is not able to connect to the upstream server (which is normally the website).
    Thanks!
Unanswered Questions
  • How do I put code on Mac DNA flush when no cursor appears?
  • How do I know if my DNS was flushed on a MAC?
  • I keep getting error 'Hi there. You seem to lost' when I type in my URL. But when I scroll down, my pages are there. I can't seem to clear this up. What causes this?
  • How do I flush DNS if I use a Chromebook?
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
  • On Windows, you can temporarily disable DNS caching by opening Command Prompt and typingnet stop dnscacheinto the window. This will halt DNS caching until the next time your reboot your computer.
  • If you want to clear a mobile device's DNS cache, the most consistent way to do so is by performing a hard restart, which entails turning the phone or tablet off and then back on using the power button.

Warnings

  • Websites will take a bit longer to load the first time you access them after flushing the DNS cache.

Related wikiHows

Article Info

Categories:

In other languages:

Español: , Deutsch: , Português: , Italiano: , Русский: , Français: , Nederlands: , 中文: , Bahasa Indonesia: , العربية: , ไทย: , Tiếng Việt: , हिन्दी: , 日本語: 

Thanks to all authors for creating a page that has been read 1,586,101 times.





Video: How to Flush DNS Cache on Windows, macOS, Android, iOS

How to Flush DNS
How to Flush DNS images

2019 year
2019 year - How to Flush DNS pictures

How to Flush DNS advise
How to Flush DNS forecasting photo

How to Flush DNS images
How to Flush DNS photo

How to Flush DNS How to Flush DNS new images
How to Flush DNS new pics

foto How to Flush DNS
pics How to Flush DNS

Watch How to Flush DNS video
Watch How to Flush DNS video

Communication on this topic: How to Flush DNS, how-to-flush-dns/
Communication on this topic: How to Flush DNS, how-to-flush-dns/ , how-to-flush-dns/

Related News


Sweet Potato Hash With Tomatoes and Kale
25 Easy Short Hairstyles for Older Women
Orange Glazed Roasted Carrots
Effects of Divorce in Preschoolers
Sophie Turner had to switch to wearing a wig on Game of Thrones
How to Live an Artsy Lifestyle
Bow Scarves are the Season’s Trendiest Accessories
The Coregasm Workout
The Scary Reason You Need to Know the Early Signs of Syphilis
The Scary Thing That Happens to Your Body After a Weekend of Drinking



Date: 01.12.2018, 13:13 / Views: 85533