mDNSResponder is clearly broken on the latest version of Ventura (13.2.1) - how could this go unnoticed?

I got a brand new MacMini a few weeks ago which had Ventura on it. It was working perfectly.


However, after I upgraded to the latest version of Ventura DNS resolution broke. If I try to "ping" a domain, the ping program hangs as of course does Safari and any other regular application that wants to connect to a server. Pinging an IP address works fine.


Both NSLookup and Dig (neither of which use mDNSResponder) were also working fine.


In other words, this is not an internet connectivity issue, it is explicitly a DNS resolution issue (and nothing to do with invalid DNS server addresses :-) )


I called Apple Support and tried explaining this to their support people, including a "senior" advisor, but they all got hung up on wanting to know what happened when I open Safari and I could not get them to understand that the problem had nothing to do with Safari.....very frustrating.


However, I discovered that after my machine finishes booting up, if I "kill -9" the mDNSResponder and its helper processes, they of course immediately restart and DNS starts working properly.


This is 100% reproducible --- shutdown the machine, reboot it, DNS is broken --- kill -9 the mDNSResponder and helper, they restart and DNS works perfectly. I did this four times while on the phone with Apple Support.


Obviously I have no access to the code but I bet that the problem is that mDNSResponder is starting before there's an available IP address and just hanging. That would explain (a) why it doesn't work immediately and (b) why it starts working as soon as you restart the mDNSResponder processes.


Very frustrating.

Mac mini (M2, 2023)

Posted on Mar 16, 2023 01:20 PM

Reply

Similar questions

5 replies

Mar 16, 2023 02:19 PM in response to dhjdhj

I think you are 100% right about your analysis of mDNSResponder. It seems to have always been a weak link for DNS resolution. At times the CPU usage for the process has also ran out of control, slowing UI and other operations.


With that said, I can honestly say I have not had any problems with mDNSResponder for over a year and don't know if it is something I changed or something that was corrected in a software update.


What server are you using to resolve DNS? Mine is set at 10.0.1.1, so the DNS is resolved by my router.

Mar 16, 2023 07:26 PM in response to Mac Jim ID

I had tried several servers, the one running on my pfSense router as well as various known DNS servers, e.g. 8.8.8.8 (Google) and 1.1.1.1 (the new Cloudflare).


Note that those are the servers to which my pfSense router forwards queries and none of my other machines have a problem. The issue is not the DNS server, it's clearly the mDNSResponder.


But I have no idea why it's only happening on one machine. I have two M1s running the same version of Ventura) the only difference being that the failing one is behind a subnet of my main LAN.


However, that shouldn't matter as other (non-Ventura) machines are also on that subset as well and they all work fine without having to restart the mDNSResponder processes.

Mar 17, 2023 12:47 PM in response to dhjdhj

I am experiencing something... similar?


I've got a Mac Mini with an M2 Pro installed in it, and I'd just updated my Ventura to 13.2.1 maybe three days ago. I've got other devices connected to the same wireless network and the speeds are completely fine, however on this device the download speed has gone from 50-70 mb/s to 2-5 mb/s .


I am not well versed on how to resolve these kinds of issues.


If there's something I can do to reset something... please help me understand.


Thank you so much in advance.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

mDNSResponder is clearly broken on the latest version of Ventura (13.2.1) - how could this go unnoticed?

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