---
title: "DNS leak test: is your VPN leaking DNS? · Kilobat"
url: "https://kilobat.app/dns-leak-test"
description: "Free DNS leak test: see which DNS servers look up names for your browser, and whether they belong to your VPN or to your internet provider."
---

Free tool · Uses about 10 lookups

# DNS leak test

Find out which DNS servers see the sites you visit. With a VPN on, they should belong to the VPN, not to your internet provider.

DNS servers this browser uses

Takes about five seconds.

## Stop DNS going around the VPN.

1. **Turn on the VPN app’s leak protection.**Most VPN apps have a DNS leak protection or “use VPN DNS” setting. Turn it on and run the test again.
2. **Check the browser’s secure DNS.**Chrome, Edge and Firefox can send lookups to their own DNS service. Turn it off, or set it to your VPN’s DNS.
3. **Remove manual DNS on the Mac.**Open `System Settings › Network › Wi-Fi › Details… › DNS`. Servers added by hand there can take priority over the VPN’s.
4. **Check IPv6.**If the VPN doesn’t carry IPv6, lookups and traffic can leave outside it. Check that [your IPv6 address](https://kilobat.app/what-is-my-ip) changes with the VPN on.

## The browser is only half of it.

Apps other than the browser use the Mac’s own resolvers. Kilobat’s VPN leak test checks DNS, IPv6 and UDP for the whole Mac, and says which setting to change.

Terminal

```
# DNS, IPv6 and UDP checked against the VPN
kilobat vpn leaks
```

## More checks for your connection.

- [**What is my IP?**Your public IPv4 and IPv6 addresses, your provider and roughly where websites think you are.](https://kilobat.app/what-is-my-ip)
- [**WebRTC leak test**Does WebRTC show an address your VPN should be hiding?](https://kilobat.app/webrtc-leak-test)
- [**Ping test**Median latency, jitter, and a plain answer for calls and games.](https://kilobat.app/ping-test)
- [**CGNAT check**Is your provider sharing one public address between customers? Compare it with your router’s.](https://kilobat.app/cgnat-check)

### Privacy and VPN

- [What is my IP?](https://kilobat.app/what-is-my-ip)
- DNS leak test
- [WebRTC leak test](https://kilobat.app/webrtc-leak-test)

### Speed and latency

- [Ping test](https://kilobat.app/ping-test)
- [Bufferbloat test](https://kilobat.app/bufferbloat-test)
- [Speed checker](https://kilobat.app/internet-speed-checker)

### Your network

- [CGNAT check](https://kilobat.app/cgnat-check)
- [IPv6 test](https://kilobat.app/ipv6-test)
- [MAC address lookup](https://kilobat.app/mac-address-lookup)

### Calculators

- [Download time calculator](https://kilobat.app/download-time-calculator)
- [Internet speed calculator](https://kilobat.app/internet-speed-calculator)
- [Bandwidth calculator](https://kilobat.app/bandwidth-calculator)
- [Data usage calculator](https://kilobat.app/data-usage-calculator)

### Claims and evidence

- [Outage credit calculator](https://kilobat.app/outage-credit)
- [Wi-Fi evidence cards](https://kilobat.app/wifi-evidence)

## Questions

**What is a DNS leak?**

Your device looks up every site’s name with a DNS server. With a VPN on, those lookups should go through the VPN. A DNS leak is when they go to your home or mobile provider instead, so it can see which sites you visit.

**How does this test work?**

Your browser looks up ten made-up names that only this test uses. The test service’s name servers record which DNS servers asked for them. The page then lists those servers and whose network each belongs to.

**My provider’s DNS servers are listed. Is that bad?**

Not without a VPN: that’s the normal set-up. With a VPN on, it means lookups go around the VPN. Turn on the VPN app’s DNS leak protection, or set its DNS in the app’s settings.

**Why do I see Cloudflare, Google or Quad9?**

Your browser, router or Mac uses that public DNS service. Chrome, Edge and Firefox can use their own secure DNS, so the browser’s result can differ from other apps on the Mac.

**Does this test my whole Mac?**

No, only this browser. Browsers can use their own encrypted DNS. Kilobat’s VPN leak test checks the Mac itself: DNS, IPv6 and UDP. Run `kilobat vpn leaks` in Terminal. Kilobat is free; Pro is $29 once.

**Is anything stored?**

This site stores nothing. The test service, bash.ws, sees the DNS servers that ask for its test names, as any name server does.

## Sources

1. [bash.ws: DNS leak test](https://bash.ws/dnsleak)
2. [Apple Developer: Supporting encrypted DNS](https://developer.apple.com/documentation/networkextension/dns_settings)
3. [Chrome Help: Use secure DNS](https://support.google.com/chrome/answer/10468685)
4. [Mozilla Support: Firefox DNS over HTTPS](https://support.mozilla.org/kb/firefox-dns-over-https)
5. [RFC 8484: DNS Queries over HTTPS (DoH)](https://www.rfc-editor.org/rfc/rfc8484)

Checked on 7 November 2026.

## Check your whole Mac for VPN leaks, not just the browser.

[Download for Mac ↓](https://kilobat.app/downloads/Kilobat-1.44.2.dmg?via=site)

```
brew install seifip/kilobat/kilobat
```
