Free VPN with Private DNS on iPhone & Android (WireGuard)
A simple phone-only guide to running WireGuard with a private DNS (NextDNS) instead of your carrier's — using Proton VPN or IPv64.net.
Why This Matters
A VPN encrypts your traffic, but if your phone still uses your carrier’s DNS to look up websites, your carrier can still see every site you visit. Setting a private DNS (like NextDNS) inside your WireGuard tunnel closes that gap.
This guide only covers phones — iPhone and Android — with two free ways to get a WireGuard tunnel, plus how to add NextDNS as your DNS.
Step 1: Get a Free WireGuard Config
Pick one:
Proton VPN (Free)
- Sign up for free at
account.protonvpn.com. - Go to Downloads → WireGuard configuration.
- Pick a server, tap Create, then Download the
.conffile.
IPv64.net
- Sign up for free at
ipv64.net. - Open the WireGuard Config Generator on the site.
- Fill in the basic fields and generate your config.
- Download the client
.conffile.
Either way, you end up with one
.conffile (or a QR code) — that’s all you need for the next step.
Step 2: Install WireGuard on Your Phone
- iPhone: install WireGuard from the App Store.
- Android: install WireGuard from the Play Store.
Step 3: Import the Config
- If you have the file on your phone: tap + → Import from file/archive.
- If you have it open on a computer: tap + → Scan from QR code and scan it.
Give the tunnel a name and save it.
Step 4: Get Your NextDNS Addresses
- Sign up / log in at
my.nextdns.io. - Open your profile, go to the Setup tab.
- Under Linked IP, you’ll see two IPv6 addresses assigned to your profile — something like:
1 2
2a07:a8c0::XXXX:XXXX 2a07:a8c1::XXXX:XXXX
These are yours, tied to your NextDNS profile — don’t use someone else’s, or you won’t get your own blocklists/logs.
Step 5: Set NextDNS as the DNS
Once the tunnel is imported:
iPhone
- Tap the tunnel to open it, then tap Edit (top right).
- Under Interface, tap DNS servers, clear the field, and paste your two addresses from Step 4, separated by a comma.
- Tap Save.
Android
- Tap the tunnel, then tap the pencil/edit icon.
- Find the DNS servers field under the interface section, clear it, and paste your two addresses from Step 4, separated by a comma.
- Save.
Step 6: Connect and Check
Turn the tunnel on with the toggle next to its name.
To confirm NextDNS is actually being used, open your phone’s browser and go to:
1
https://test.nextdns.io
It should say NextDNS is active. If it doesn’t, go back to Step 4 and make sure the DNS servers field was saved correctly.
If your carrier or Wi-Fi blocks IPv6, NextDNS won’t be reachable. Switch to a Wi-Fi network or mobile data that supports IPv6, or ask NextDNS support for an IPv4 alternative.