MacOS – DNS Flush Issue

dnsgoogle-chromemacos

Not sure if this is the right forum to ask this question. The computer in question is a Mac Book Pro (10.9.5, aka Mavericks).

There is a site that in Chrome that repeatedly comes up with its "Aw, Snap" page. It's really bothering my co-workers that it's loading up fine in other browsers but not in Chrome repeatedly.

So, I've been trying to figure out the answer. I came across the issue of dns cache maybe?

Since the dns command is different based on OS version, I've tried dscacheutil -flushcache;sudo killall -HUP mDNSResponder to no avail.

Wanted to see if it was working, so tried:

sudo discoveryutil mdnsflushcache

sudo discoveryutil udnsflushcaches

And all I get from those are:

sudo discoveryutil mdnsflushcache

How do I make my dns flush work, and how will I know it worked? And could there be any particular reason why a site won't repeatedly load up in Chrome unless you hit refresh multiple times?

EDIT

Editing to add that I've literally done everything under the sun on Chrome, ie, clear its cache, remove cookies, and reset it repeatedly.

And still the site repeatedly comes up with its "Aw, Snap" page.

Best Answer

It sounds to me as though the problem is with Chrome itself since you said that the site works fine in other browsers.

When you visit a webpage (like a search results page), Google Chrome will pre-fetch the IP addresses of all websites that are listed on that page. Since the browser has the IP addresses of all the links in advance, DNS pre-fetching ensures that any links that may you click on that webpage will load faster. However, when pre-fetching fails, something that’s not very uncommon, you may get the “link broken” error. (source)

To disable the pre-fetching, go to Tools > Options (or Preferences on a Mac) > Under the Hood and uncheck the setting that says “Use DNS pre-fetching to improve page load performance.”

Otherwise you can also try simply clearing the cache of that specific site.