Solved

Macbook cache issues

Posted on 2014-10-20
10
276 Views
Last Modified: 2014-10-21
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
0
Comment
Question by:David
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
  • 2
10 Comments
 
LVL 16

Expert Comment

by:Joshua Grantom
ID: 40392391
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.
0
 
LVL 53

Expert Comment

by:strung
ID: 40392413
Yes. Check the DNS settings in the network prefs.
0
 

Author Comment

by:David
ID: 40392471
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?
0
Ready to trade in that old firewall?

Whether you need to trade-up to a shiny new Firebox or just ready to upgrade from whatever appliance you're using now, WatchGuard has the right appliance for you! Find your perfect Firebox today with appliance sizing tool!

 
LVL 16

Expert Comment

by:Joshua Grantom
ID: 40392475
What version of OSX is that computer running? 10.9.X?
0
 

Author Comment

by:David
ID: 40392480
its 10.8.5 or 10.8.6
0
 
LVL 53

Accepted Solution

by:
strung earned 500 total points
ID: 40392485
If you ping the website by URL (not by IP address), does it resolve to the old or new address?

Also, is there any possibility that someone has edited the /etc/hosts file to explicitly resolve the web site to the old address?

Pull down the Go menu in Finder to GO to Folder and copy and paste the following into the box and hit return:

/etc

Scroll down to the "hosts" file. You can open and edit it with the freeware TextWrangler:  

http://www.barebones.com/products/textwrangler/

(If you are comfortable enough with Terminal, you can also us the line editor in Terminal to edit  the hosts file.)

If you find a line in the hosts file referring to the website in particular, deleting that line and restarting the computer should solve your problem. Alternatively change the IP address in the hosts file from the old to new IP in the line referring to the website, save and restart.
0
 

Author Comment

by:David
ID: 40392488
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
0
 
LVL 53

Expert Comment

by:strung
ID: 40392496
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/
0
 

Author Comment

by:David
ID: 40393845
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?
0
 
LVL 53

Expert Comment

by:strung
ID: 40394353
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
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

One of the most often confused topics in the area DNS is the idea of GLUE records. Specifically, what they are, when they are needed, when they are provided, and how they are created. First, WHAT IS GLUE? To understand GLUE, you must first under…
In this article we have discussed about the OS X EI Capitan and how to fix Wi-Fi issue in OS X El Capitan. We have explained how to delete system level preferences and create a new Wi-Fi location to resolve Wi-Fi issue.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

635 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question