Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

DNS cache flush

Featured Replies

Hey ppl

 

I need to 'flush' my DNS cache in order to be able to view my website i have recently put up for testing.

 

With support from my host providers we have deduced this; it can be viewed on two other comps in the house no prob.

 

I have two questions then;

 

Can someone explain to me exactly what this means?

 

Also then are there any mac users that use terminal here that can explain the process?

 

I have found out what the commands are i need to run; dnscacheutil -flushcache

 

I think I just need to type that straight into the window but is there anything else I should know?

 

I do have the missing manual and do plan on learning how to use it properly but just trying to get me website sorted first.

 

Thanks guys and sorry if I'm being a dense bird! :)

 

PS Sorry I think there were more than 2 questions! 

I don't use a Mac but if you can find the "Terminal" application just type in the command and hit the Enter button. After that you may see one or two messages and something to say it's completed (it only takes a second or so). Job done.

 

What does it do? Well without going into lengthy explainations, your computer stores information about web site IP addresses and DNS entries whenever you use the web. Sometimes, when something on the web has changed, your computer still uses old information, so flushing the DNS clears out the data and forces new data to be looked up.

  • Author

Thanks blue; sounds the same as normal cache but guy on support said it was different.....

 

What's the difference between those then?

 

Thanks again... :)

Thanks blue; sounds the same as normal cache but guy on support said it was different.....

 

What's the difference between those then?

 

Thanks again... :)

 

I didn't think the DNS cache affected webpages?

 

As a windows and IE7 you can do a refresh F5 or a forced refreshed with clears the cache (Ctrl + F5).

 

On safari I don't know - sorry!

  • Author

@ Bobbymooreok - I regularly refresh the normal cache - i don't safari much tho; more opera and firefox.

 

So the normal cache isn't the problem.... and it isn't our internet connection; as i said, the otehr comps in the house view it fine in ie and safari.

Thanks blue; sounds the same as normal cache but guy on support said it was different.....

 

What's the difference between those then?

Yes there are 2 (or probably more) "caches" on any computer.

 

Your normal browser cache is literally a repository of all the html/php/css/js and image documents from the web sites you visit.

 

DNS cache is something that works behind the scenes and is more of a record of connections made between your computer and the internet. Put simply, "DNS" matches numbers (IP addresses) with human readable addresses (domain names) and routes a web page request to the correct location. Something like that anyway!

 

For the most part the DNS cache normally needs no intervention, but on occasion if there has been a change to a domain name, it's ip address, or web hosting, it sometimes doesn't update as normal. "Flushing" forces your computer to go and retrieve the latest data.

  • Author

Nice - thanks i get it :)

 

Now i just need to figure out terminal cos it aint doing what i'm asking lol!

 

Macintosh:~ rosieparsons$ dnscacheutil-flushcache

-bash: dnscacheutil-flushcache: command not found

Macintosh:~ rosieparsons$

  • Author

Bluedreamer I could kiss you all over!

 

So, for anyone else who has this prob....sudo dscacheutil -flushcache is the command.

 

When I googled I only found the command without sudo.

 

Thankyou :)

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.