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/LaunchDaem ons/com.ap ple.mDNSRe sponder.pl ist
sudo launchctl load /System/Library/LaunchDaem ons/com.ap ple.mDNSRe sponder.pl ist
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
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/LaunchDaem
sudo launchctl load /System/Library/LaunchDaem
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
Yes. Check the DNS settings in the network prefs.
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?
ASKER
its 10.8.5 or 10.8.6
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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
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/
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/
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
I use it to block ad sites and popups by redirecting their URL to 0.0.0.0
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.