Updated

What you see

A DNS leak test lists your internet provider's name servers while the VPN is connected, instead of the VPN's.

What it means

Before your device can open a website it asks a DNS server for the address behind its name. If that question goes to your provider's DNS server instead of through the tunnel, your provider sees which sites you visit — the thing you wanted the VPN to hide. Your traffic is encrypted; the lookups are not.
Quick fix
Make sure your VPN config names a DNS server (WireGuard: a DNS line under [Interface]) and that traffic to it goes through the tunnel. Then run a leak test again.

Causes and how to fix them

1. The config has no DNS server

Without a DNS line, your device keeps asking the server it used before connecting — usually your router. Add one to the [Interface] section:
DNS = 1.1.1.1, 1.0.0.1

2. Windows asks every network adapter

Windows can send a lookup out of all its adapters at once and use the first answer, which lets your provider's DNS see it. Some VPN apps take steps against this; if you still see a leak, switch off the other adapters (a second Wi-Fi card or a virtual one) and test again.

3. Your browser uses its own DNS

Secure DNS (DNS over HTTPS) in browsers, and Private DNS on Android, send lookups to a provider you picked, ignoring the VPN's setting. That isn't your internet provider seeing them, but it isn't the VPN's resolver either. Choose “automatic” if you want them to follow the VPN.

4. A VLESS app resolves names locally

Xray-based apps have DNS settings of their own: some let names be looked up on the device, “direct”, and not through the proxy. Set the app to resolve through the VPN (remote DNS), and keep direct lookups for sites you deliberately exclude.

Using Nullsify?

Nullsify's WireGuard and AmneziaWG configs set DNS to Cloudflare's 1.1.1.1 and 1.0.0.1 and route it through the tunnel, so a leak test should show Cloudflare, not your provider. Seeing Cloudflare is expected — it is the resolver your config names.
Free for 1 server. Bring your own VPS — Nullsify configures WireGuard, AmneziaWG or VLESS on it for you.

Related problems

Read more