You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

MacBook cannot do DNS lookup after waking up from sleep

For the past week, my MacBook has been refusing to do DNS lookups unless it’s rebooted. The machine is running Ventura 13.4 and I am able to ping every system on my local network.


The /etc/resolv.conf file appears to be correct. In an attempt to resolve the issue, I have flushed the DNS cache and restarted/reloaded mDNSResponder with no success.


The only solution that seems to work is rebooting the machine. Do you have any other ideas on how to fix this issue?

Posted on May 26, 2023 8:18 AM

Reply

Similar questions

8 replies

May 26, 2023 8:44 AM in response to vamfoom

vamfoom wrote:

For the past week, my MacBook has been refusing to do DNS lookups unless it’s rebooted. The machine is running Ventura 13.4 and I am able to ping every system on my local network.

The /etc/resolv.conf file appears to be correct. In an attempt to resolve the issue, I have flushed the DNS cache and restarted/reloaded mDNSResponder with no success.

The only solution that seems to work is rebooting the machine. Do you have any other ideas on how to fix this issue?


Look if there is more here...

see Bob Harris:

macbook pro upgrade to ventura 13.3.1 - Apple Community


Oct 18, 2023 1:33 AM in response to vamfoom

Symptoms in my case

  • waking up the machine from a longer sleep, network connection is broken on all wifi networks (haven't tried wired or mobile hotspots) (I have Ventura 13.5.2 on M1 Pro)
  • ping 'google.com' unresponsive
  • ping any IP address, works
  • I've been observing crashes with some delay after problem onset:
panic(cpu 1 caller 0xfffffe0013cf6e58): userspace watchdog timeout: no successful checkins from configd in 180 seconds
configd has not exited since first loaded
service: logd, total successful checkins in 46119 seconds: 4440, last successful checkin: 0 seconds ago
service: WindowServer, total successful checkins in 46063 seconds: 4436, last successful checkin: 0 seconds ago
service: configd, total successful checkins in 46119 seconds: 4421, last successful checkin: 180 seconds ago
  • restart solves the issues


Tried and didn't work

  • reconnecting wifi,
  • sleep-wake cycle,
  • wifi disable-enable cycle,
  • updating dns server address


Next to try:

  • I faintly recall that nslookup is using the system builtin modules, whereas dig has it's own, so I'll compare nslookup, dig and maybe other DNS lookup utilities to isolate the issue and verify it is really it the system dns resolution
  • Given configd is also (indirectly?) responsible for DNS resolution, I'll dig deeper if the error occurs again.



May 26, 2023 9:46 AM in response to leroydouglas

I've already tried that (using different DNS server provided by Google and others). It doesn't matter which DNS server I use.


I've also tried connecting to a different WIFI (my neighbor's wifi) and it still has the same problem. I've tried to forget the network and rejoin my wifi without success.


If I reboot, then everything works just fine until the laptop goes to sleep again and wakes up, then DNS refuses to work again.


The default route is also correct so it's not an issue with routing.



MacBook cannot do DNS lookup after waking up from sleep

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.