Your Mac displays the Wi-Fi connected icon, but every browser tab displays “You are not connected to the Internet” or DNS resolution timed out. Let’s resolve this common macOS network stack lockup.
Why This Problem Happens
- Corrupted configuration plist files in /Library/Preferences/SystemConfiguration/.
- Stale DNS cache or failed DHCP lease renewal.
Step-by-Step Troubleshooting Procedure
Step 1: Renew the DHCP Lease in macOS Settings
Objective: Requests a fresh IP address from your router.
- Go to Apple Menu > System Settings > Wi-Fi.
- Click “Details…” next to your connected Wi-Fi network.
- Click the “TCP/IP” tab on the left.
- Click “Renew DHCP Lease”, then click OK.
Step 2: Add Reliable Public DNS Servers (Cloudflare / Google)
Objective: Bypasses slow or offline ISP DNS servers.
- In the same Wi-Fi Details dialog, click the “DNS” tab.
- Click the “+” button under DNS Servers.
- Add 1.1.1.1 and 8.8.8.8.
- Click OK to save and test opening a website.
Verified Troubleshooting Tips
- Flush the macOS DNS cache in Terminal: sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder.
Frequently Asked Questions
What does a 169.254.x.x IP address mean on Mac?
That is an Automatic Private IP Address (APIPA). It means your Mac connected to the Wi-Fi signal, but your router’s DHCP server failed to hand it an IP address.