Q: DNS not working after waking iMac
Since installing 10.10.3 on my early 2009 iMac (hardwired, not WiFi) I've had an extremely annoying issue where my iMac will not see anything on the internet for nearly 2 mins after waking up. It's actually quicker for me to re-boot in order to regain internet connectivity.
I'm fairly certain it's a DNS problem. Every time this happens there's a message like:
09/05/2015 08:56:40.637 configd[51]: [0x7fb4da47e510] [m]DNS query timeout (query time = 2665.080478), [TE]
in the console about 30-40s after waking. But I'm not seeing anything else obvious.
Is anyone else anything seeing anything like this?
The problem is not the network itself - during the 2 mins of internet "silence" I can still connect to anything on my LAN without a problem using Bonjour name resolution or IP addresses. It's only WAN network operations that require a full DNS lookup that cause a problem.
I think the LAN itself if fine - it's only this iMac that has this problem (multiple other devices are fine). As above the iMac is hardwired, to an Airport extreme.
I've tried:
- Changing my DNS servers to/from the Google servers in the router
- Manually configuring them on the iMac rather than relying on DHCP
- Using WiFi rather than hardwire
- Deleting most relevant files in /Library/Preferences/SystemConfiguration/ (e.g. Preferences.plist)
And have now run out of ideas. Any further suggestions gratefully received.
Posted on May 9, 2015 1:34 AM
Am posting this in case it helps someone else.
As I suspected this looks like a problem called by the new discoveryd daemon which replaced mDNSResponder in Yosemite. Search for discoveryd and you'll see all the problems people have been having with it. Anyway I tried a solution which someone claimed to have worked for them and it looks like it's worked for me too:
- Turnoff all Apple TVs you have on your network
- Reboot any Airport Express, Airport Extreme or Time Capsule you have on your network
- Turn your Apple TVs back on
Haven't had a problem in days since doing this. Hope it works for you tool.
Posted on May 14, 2015 11:53 AM