Link to home
Start Free TrialLog in
Avatar of David
David

asked on

Macbook cache issues

Hi

There is one macbook on the network out of 15 macs and there has been a over the weekend change with the DNS settings for the company website. I have also updated the DNS records on the local server.

But this one mac still refuses to go to the new website even after resetting the cache of all browsers (safari, chrome, firefox) and i have tried this command

sudo launchctl unload /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist

sudo launchctl load /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist


and

sudo dscacheutil -flushcache

but no luck i have also tried deleting the cache.db for safari in the library folder.

I have tried creating a new users and that didnt work either.

I have tried a different network with a different internet connection, so the problem is on the mac but i can find out where??

Thanks

David
Avatar of Joshua Grantom
Joshua Grantom
Flag of United States of America image

Try it in this order

sudo dscacheutil -flushcache
sudo killall -HUP mDNSResponder

I would also verify that the mac is using the correct IP for the internal DNS server to resolve hosts.
Yes. Check the DNS settings in the network prefs.
Avatar of David
David

ASKER

Hi, i checked the DNS, they are pulled via the DHCP and were fine, and i ran both them commands with no luck. Anything else?
What version of OSX is that computer running? 10.9.X?
Avatar of David

ASKER

its 10.8.5 or 10.8.6
ASKER CERTIFIED SOLUTION
Avatar of strung
strung
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of David

ASKER

When pinged the old IP appears, which explains why the old website loads

i will have a look at the hosts file and i will also ask the user to look at updating to 10.9 via the app store
Updating to 10.9 is not likely to solve the problem. Check the hosts file first.

You could alway put in an explicit route to the new web site in the hosts file. If you are not familiar with the hosts file, here is some information:

http://www.tekrevue.com/tip/edit-hosts-file-mac-os-x/
Avatar of David

ASKER

Thanks for that! It was the host file. Do you know by any chance why that happened? And what should it usually have in the host file?
If your server was in the hosts file, someone added it manually. The default hosts file has almost nothing in it. The link I posted above shows the default hosts file.  

I use it to block ad sites and popups by redirecting their URL to 0.0.0.0