How to clear your DNS in Windows and on Mac

When working with DNS, for example, during a nameserver change, it may be necessary to clear (flush) the DNS on your computer to get the correct DNS for your domain.

Below are two guides to clear your DNS on both Windows and Mac.

Clear DNS on Windows

You can easily clear your DNS via the command prompt.

Therefore, go to the lower left corner and click on the Windows icon.

Then just start typing/searching for "command prompt".

When you find the command prompt, right-click it and run the program as an administrator.

In the command prompt, now type: ipconfig /flushdns

As shown below:

Press enter to clear DNS.

After you press enter, you will receive the following message, and your DNS is now cleared:

Clear DNS on Mac

If you have a Mac, you can clear your DNS in the following way:

  1. Open Finder on your Mac
  2. Click on Applications
  3. Scroll down to the Utilities folder and open it.
  4. Find the terminal and open it
  5. Inside the terminal, you should insert/type the following depending on the operating system you use:
    1. 10.7-10.9, 10.11-10.14 (Lion, Mountain Lion, Mavericks, El Capitan, Sierra, High Sierra, Mojave): sudo killall -HUP mDNSResponder
    2. 10.10 (Yosemite): sudo discoveryutil mdnsflushcache.
    3. 10.5-10.6 (Leopard, Snow Leopard): sudo dscacheutil -flushcache
    4. 10.4 (Tiger): lookupd -flushcache
  6. Enter your password and click enter
  7. Click enter again (only necessary sometimes)

You should now see some form of message that your DNS has been cleared.

  • 0 Users Found This Useful
Was this answer helpful?

Didn't find a solution?

If you haven't found a solution by searching or navigating our categories, you can open a new support ticket.

Open New Ticket

Related Articles

How to set up Shopify on your domain at nordicway

At nordicway, it's easy to connect your Shopify online store to your domain at nordicway,...

How to set up DNS records (A, MX, CNAME, TXT, etc.) on your domain at nordicway

At nordicWay, DNS service is included for all your domains. For the main domain, DNS record...

Point domain and mail towards nordicway with external DNS

If you point your nameserver to an external DNS service and would like to use nordicway for...

Setting up Google G Suite (Gsuite) with nordicway

At nordicway, you have the option to connect your G Suite account to your domain with us. Here...

Setting up Wix and other website programs with your own domain at nordicway

Would you like to connect your domain at nordicway with platforms like Wix or other external...