Difference between revisions of "DNS timeout failure on MacOS"

From Noah.org
Jump to navigationJump to search
(Created page with "Category: Engineering = Flush DNS cache. Clear corrupt DNS cache. Fix domain name resolution timeout errors. = Sometimes Safari and Chrome browsers will start to load a...")
 
m
Line 1: Line 1:
 
[[Category: Engineering]]
 
[[Category: Engineering]]
  
= Flush DNS cache. Clear corrupt DNS cache. Fix domain name resolution timeout errors. =
+
= Flush DNS cache. Clear corrupt DNS cache. Fix domain name resolution timeout errors. Nameserver cache corruption =
  
 
Sometimes Safari and Chrome browsers will start to load a page but then never finish. The problem does not seem to affect all pages. The problem seems to especially affect Google applications such as Gmail. Rebooting does not seem to clear the problem. The source of the fault is an uncommon failure in the name resolution service that MacOS uses. The local DNS cache may be corrupted for an unknown reason. It's not clear why pages seem to partially load and then timeout. The problem seems to be with the '''mDNSResponder''' service, which provides support for '''zeroconf''' ('''Bonjour''').
 
Sometimes Safari and Chrome browsers will start to load a page but then never finish. The problem does not seem to affect all pages. The problem seems to especially affect Google applications such as Gmail. Rebooting does not seem to clear the problem. The source of the fault is an uncommon failure in the name resolution service that MacOS uses. The local DNS cache may be corrupted for an unknown reason. It's not clear why pages seem to partially load and then timeout. The problem seems to be with the '''mDNSResponder''' service, which provides support for '''zeroconf''' ('''Bonjour''').

Revision as of 00:21, 20 November 2018


Flush DNS cache. Clear corrupt DNS cache. Fix domain name resolution timeout errors. Nameserver cache corruption

Sometimes Safari and Chrome browsers will start to load a page but then never finish. The problem does not seem to affect all pages. The problem seems to especially affect Google applications such as Gmail. Rebooting does not seem to clear the problem. The source of the fault is an uncommon failure in the name resolution service that MacOS uses. The local DNS cache may be corrupted for an unknown reason. It's not clear why pages seem to partially load and then timeout. The problem seems to be with the mDNSResponder service, which provides support for zeroconf (Bonjour).

The fix is simple. Open a command-line shell and enter the following command:

sudo killall -HUP mDNSResponder

This will tell the mDNSResponder service to flush the cache and reload the service.