“Wi-Fi is connected to the Internet, but the DNS settings may not be set up properly”

The Mac has an address and a route, but the DNS servers do not answer. Names do not resolve until you fix them.

Fix this with your agentCopies a prompt for Claude Code, Codex or any agent that can use Terminal.

My Mac has this problem: “Wi-Fi is connected to the Internet, but the DNS settings may not be set up properly”. Read https://kilobat.app/guides/wifi-connected-dns-settings-not-set-up-properly.md and work through it with me. Install the Kilobat CLI if it’s missing: brew install seifip/kilobat/kilobat. Run the guide’s Terminal and kilobat checks yourself and tell me what you find. List the steps only I can do. Ask before you change any setting.

Applies to: All current macOS versions. The text was checked in Network settings on macOS 27.2.Checked: 29 October 2026

Symptoms

  • System Settings › Network shows that the service is connected to the Internet, but the DNS settings may not be set up properly.
  • Pages fail with “server not found”.
  • A ping to an IP address works.

Likely causes

  • A DNS server that you typed in by hand. The server is down, or this network blocks it.
  • The router does not forward DNS. The router gets no answer from its upstream servers.
  • A VPN, filter or profile. It can send queries to servers that you cannot reach.

How to check

  1. Ping an IP address, then a name. If only the name fails, DNS is the cause.

    ping -c 3 1.1.1.1
  2. Show the resolvers that macOS uses.

    scutil --dns
  3. Show the DNS servers that you set by hand.

    networksetup -getdnsservers Wi-Fi

How to fix it

  1. Remove DNS servers that you added. Use System Settings › Network › Wi-Fi › Details › DNS. See DNS not resolving on a Mac.

  2. Clear the DNS cache. See Flush the DNS cache on a Mac.

  3. Renew the lease so that the router gives DNS servers again. See Renew the DHCP lease on a Mac.

  4. Turn off a VPN for a test. See Internal names do not resolve on a VPN.

  5. Restart the router if every device fails.

With Kilobat

  1. Kilobat times one DNS lookup and lists the resolvers in use. Look at dnsServers.

    kilobat diagnose --json
  2. The CLI is free. In the app, the advice from these checks is part of Kilobat Pro. See Find why one site or API won't connect.

Questions

Does the warning show on Ethernet too?

The text names the service. It shows the name of the service that you look at.

Is the connection broken?

The link works. Lookups by name fail.

Sources

  • Error text in Network.appex (System Settings), macOS 27.2 (Localizable.loctable)
  • scutil(8) and networksetup(8), man page installed with macOS 27.2

Checked on 29 October 2026.