Fixing Mac Wi-Fi Connection Issues Caused by DNS Errors

Resolve No Internet connection on your Mac by resetting network settings and configuring custom DNS servers. Step-by-step guide to restore connectivity.

  1. Check current DNS configuration. Open System Settings from the Apple menu and select Wi-Fi. Click the Details button next to your connected network. Select DNS from the left sidebar to view the current server addresses.
  2. Flush the DNS cache. Open Terminal from Applications/Utilities. Enter sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder and press Return. Provide your administrator password when prompted.
  3. Add public DNS servers. Return to System Settings > Wi-Fi > Details > DNS. Click the Plus (+) button and enter 8.8.8.8, then press Enter. Repeat the process to add 1.1.1.1, then click OK to save changes.
  4. Delete legacy network preference files. Open Finder, press Command+Shift+G, and paste /Library/Preferences/SystemConfiguration/. Locate and move com.apple.airport.preferences.plist and com.apple.network.identification.plist to your desktop.
  5. Cycle the network interface. Turn off Wi-Fi from the Control Center or the menu bar icon. Wait 10 seconds to allow the network interface to power down fully, then toggle Wi-Fi back to the On position.

Related

  • How to Enable Find My Device on Android
  • How to Customize Google Sync Settings on Android
  • How to Handle Two-Step Verification During Android Setup
  • How to sign in to your Google Account on Android
  • How to Update Your Android Device Before Data Transfer
  • How to connect an Android device to Wi-Fi during setup