DNS leak test

A DNS leak means your device sends lookups outside the tunnel, so your ISP can still see which sites you resolve even with a VPN on.

Your current exit IP & location
checking…

How to use the dns leak test

  1. Note your exit IP and country with the VPN off.
  2. Connect the VPN and reload.
  3. If the location still shows your real country/ISP, your connection is leaking.

How to run a full check

  1. Note your exit IP and country above with the VPN off.
  2. Connect your VPN and reload — the IP and country should change to the exit hole's.
  3. If the location still shows your real country/ISP while the VPN is on, your connection is leaking.

How vpn.golf prevents DNS leaks

Every hole runs its own DNS resolver inside the tunnel with query logging disabled, so your lookups never reach your ISP and aren't recorded. More on the how it works page.

Code & API examples

Use this from the command line or your code.

Check exit IP (curl)
curl https://vpn.golf/api/tools/ip
Who's resolving you (dig)
dig +short whoami.akamai.net

See all endpoints at /api/tools/.

Frequently asked questions

When DNS queries bypass the VPN tunnel and go to your ISP's resolver, exposing the domains you visit even though the rest of your traffic is encrypted.

Every hole runs its own resolver inside the tunnel with query logging off, so lookups never reach your ISP and aren't recorded.
Want to hide your IP for real?

vpn.golf is a no-logs WireGuard VPN. Pick a hole, take the shot.

Step up to the tee — free