Flush local DNS cache on macOS BigSur.

Force your mac to flush the local DNS cache.

To flush the DNS on your mac, open a terminal and enter the following command:

sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

Enter your password and the local DNS cache will be flushed.

Written by Loek van den Ouweland on 2021-08-12. Questions regarding this artice? You can send them to the address below.