---
title: "Wi-Fi is connected to the Internet, but the DNS settings may not be set up properly · Kilobat Guides"
url: "https://kilobat.app/guides/wifi-connected-dns-settings-not-set-up-properly"
description: "Network settings warns that Wi-Fi is connected but DNS may be wrong. Test the servers and clear bad DNS entries."
---

# “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 agent**Copies 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](https://kilobat.app/guides/dns-server-not-found).
2. Clear the DNS cache. See [Flush the DNS cache on a Mac](https://kilobat.app/guides/flush-dns-cache-mac).
3. Renew the lease so that the router gives DNS servers again. See [Renew the DHCP lease on a Mac](https://kilobat.app/guides/renew-dhcp-lease-mac).
4. Turn off a VPN for a test. See [Internal names do not resolve on a VPN](https://kilobat.app/guides/vpn-split-dns-internal-names).
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](https://kilobat.app/guides/recipes/why-cant-it-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.

## Related guides

- [DNS not resolving on a Mac](https://kilobat.app/guides/dns-server-not-found): When DNS fails, the Mac cannot change a name such as apple.com into an IP address.
- [Slow DNS on a Mac](https://kilobat.app/guides/slow-dns-mac): Every new site needs a DNS lookup before it can load.
- [Flush the DNS cache on a Mac](https://kilobat.app/guides/flush-dns-cache-mac): macOS keeps DNS answers for some time.
- [“This network is blocking encrypted DNS traffic” on Mac](https://kilobat.app/guides/encrypted-dns-blocked-network): macOS shows this note under a Wi-Fi network when encrypted DNS queries do not pass.
- [Mac connected to Wi-Fi but no internet](https://kilobat.app/guides/wifi-connected-no-internet): A Wi-Fi connection is only the link to the router.
