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
DavidAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Joshua GrantomSenior Systems AdministratorCommented:
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
strungCommented:
Yes. Check the DNS settings in the network prefs.
0
DavidAuthor Commented:
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
Introducing the "443 Security Simplified" Podcast

This new podcast puts you inside the minds of leading white-hat hackers and security researchers. Hosts Marc Laliberte and Corey Nachreiner turn complex security concepts into easily understood and actionable insights on the latest cyber security headlines and trends.

Joshua GrantomSenior Systems AdministratorCommented:
What version of OSX is that computer running? 10.9.X?
0
DavidAuthor Commented:
its 10.8.5 or 10.8.6
0
strungCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
DavidAuthor Commented:
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
strungCommented:
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
DavidAuthor Commented:
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
strungCommented:
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Mac OS X

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.