Error Codes Wiki

Mac DNS Lookup Failed

Warningnetwork

Overview

Mac "DNS lookup failed" error means macOS cannot resolve a domain name to an IP address, preventing connection to websites or services.

Key Details

  • Safari or browser cannot resolve the website address
  • DNS server is unreachable or not responding
  • Can affect all browsers and network applications
  • Often occurs after network configuration changes

Common Causes

  • DNS server is down or unreachable
  • Incorrect DNS configuration
  • ISP DNS server issues
  • macOS DNS cache corrupted

Steps

  1. 1Flush DNS cache: sudo dscacheutil -flushcache && sudo killall -HUP mDNSResponder
  2. 2Change DNS to 8.8.8.8 and 8.8.4.4 in Network preferences
  3. 3Renew DHCP lease in Network preferences
  4. 4Restart Wi-Fi or Ethernet connection

Tags

macmacosnetworkdns lookup failedfixtroubleshooting

More in Network

Frequently Asked Questions

Open Terminal and run: sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder