How Does DNS64 Affect Websites When a VPN Is Enabled?
DNS64 helps IPv6-only mobile networks reach older IPv4 sites. Here is why a VPN can break that trick for a few websites, and how to test it without guesswork.
10 min readUpdated Nov 4, 2026By XPASS Editorial Team

You switch the VPN on while using mobile data, and most things behave. Messaging works, video loads, search works. Then one site, usually an older one, a small shop or a government page, simply will not open, or an app that talked to a fixed server address shows a connection error. Turn the VPN off and it opens at once. Open it on home Wi-Fi with the VPN on and it also opens. That odd pattern, a problem that appears only on one kind of network with a VPN, is a classic fingerprint of DNS64.
DNS64 is a quiet piece of plumbing that some mobile carriers use so that phones with only IPv6 connectivity can still reach websites that never moved to IPv6. Most people have never heard of it, and it normally works so well that nobody notices. A VPN changes who answers your DNS questions and where your traffic leaves, and that can separate the trick from the translator that makes it work. This article explains what DNS64 and its partner NAT64 do, how to tell whether they are involved, what you can safely try, and where the limits are.
What DNS64 actually does
Every site and service on the internet is reached by a numeric address. The older kind, IPv4, looks like four numbers separated by dots. The newer kind, IPv6, is longer and uses letters, numbers and colons. The two families do not talk to each other directly. If you want the background, see IPv4 vs IPv6 for VPN users first.
Normally your device asks a DNS resolver for a name and gets back one or more addresses. DNS stores IPv4 answers in "A" records and IPv6 answers in "AAAA" records. A site that has not adopted IPv6 has an A record and no AAAA record. If you want a refresher on how that lookup chain works, read how DNS works.
Now imagine a mobile network that gives phones only an IPv6 address. That design saves the carrier from running out of IPv4 addresses. The phone asks for a name, and the old site returns only an IPv4 address that the phone cannot use. DNS64 solves this. The resolver sees that no AAAA record exists, takes the IPv4 address, and builds a synthetic IPv6 address by placing it inside a special IPv6 prefix that the carrier controls. The phone receives that address and sends its traffic to it. A second device, called a NAT64 gateway, sits on the carrier network. It recognises the special prefix, pulls the IPv4 address back out and forwards the traffic to the real site over IPv4. The reply comes back the same way.
In short, DNS64 is the lookup half and NAT64 is the delivery half. Both must be present and both must be reachable for the trick to work. This is often called an IPv6-only network with a translation layer, and some phones add another helper on the device itself so that apps written for IPv4 still run. The details differ between carriers and operating systems, and the exact behaviour on any one phone is something to test rather than assume.

Where you are likely to meet it
DNS64 is a decision made by whoever runs the network. You are most likely to meet it in these places:
- Some mobile carrier networks that hand out IPv6-only addresses to phones.
- Certain office, campus, hotel or event networks that are built IPv6-only on purpose.
- Test networks that app developers set up to check that their apps cope without IPv4.
You are unlikely to meet it on ordinary home broadband, on most café Wi-Fi, or on a hotspot that gives out normal IPv4 addresses. If you are unsure which kind of network you are on, a network information page or a "what is my IP" test can help. An address that is only IPv6, or a device address that starts with a private IPv4 range together with a carrier-side translator, hints at this setup, although the sign is not conclusive. If your mobile service sits behind a shared address, a shared address is a related situation, since a carrier may use CGNAT as well.
How a VPN changes the picture
A VPN builds a tunnel and moves some or all of your traffic through it. Two parts of that matter for DNS64.
Who answers the lookup. Many VPN apps set the device to use a resolver chosen by the VPN service while connected, instead of the carrier resolver. That resolver is not run by your carrier and, as a general rule, does not have DNS64 switched on, because DNS64 only makes sense for a client that sits on an IPv6-only network. For an IPv4-only site it returns an A record and no AAAA record, exactly as the site's owner published it.
Where the traffic leaves. Traffic that goes through the tunnel exits at the VPN side, not through the carrier's NAT64 gateway. A synthetic address built from the carrier's prefix means nothing out there. It is not a real IPv6 address on the public internet, so packets sent to it have no useful destination.
Put these together and you get several possible outcomes. Which one you see depends on the app, the phone, the carrier and how the VPN handles each address family. Do not assume one outcome; test.
| Situation | What happens | What you see |
|---|---|---|
| VPN keeps carrier DNS64 resolver, traffic goes outside the tunnel | The translator still works | The site opens, but the VPN is not covering that traffic |
| VPN uses its own resolver, tunnel carries IPv4 | The site returns an IPv4 answer and the tunnel can carry it | Often works, sometimes after a reconnect |
| VPN uses its own resolver, tunnel has no IPv4 path for the device | An IPv4-only site has nowhere to go | That site fails, others with IPv6 work |
| Synthetic address obtained before the tunnel came up, then cached | The cached address points at the carrier translator, but traffic now enters the tunnel | The site fails until the cache expires or you reconnect |
| App uses a fixed IPv4 number, no name lookup at all | DNS64 is not involved, the device needs another helper to translate | App error, only when the VPN is on |
This table is a map of possibilities, not a description of any particular service. How a given VPN app treats resolvers and address families is something the app and its provider define, and you should confirm it with a test or with support rather than rely on a general rule.
Symptoms that point to DNS64
None of these alone proves it, but together they make a strong pattern:
- The problem appears only on mobile data. The same site works on home Wi-Fi with the VPN on.
- The site is old, small or run by an organisation that is slow to update its infrastructure.
- The VPN reports connected and many other sites work fine.
- The failure is a timeout or "cannot connect", not a certificate warning, and not a CAPTCHA page.
- Turning the VPN off makes the site load immediately, and turning it on again breaks it again.
- Reconnecting, or toggling airplane mode, changes the result. This points to a stale cached address.
- An app that connects to a numeric address fails but the same service works in a browser using its name.
If the symptom is that no site loads at all with names failing, you probably have a plain DNS failure, which DNS not working when the VPN is connected covers. DNS64 trouble is narrower: most things work, and a few specific destinations do not.
Step-by-step: test and narrow it down
Work through these in order. Each step is reversible and none needs special tools. Wording on phones changes between versions, so treat menu names as approximate.
- Write down the pattern. Note the failing site, the network (mobile data or Wi-Fi) and whether the VPN is on. A one-line note saves a lot of guessing later.
- Compare networks. With the VPN on, open the failing site on mobile data and then on a normal Wi-Fi network. If it works on Wi-Fi only, the carrier network is part of the story.
- Compare VPN on and off. On mobile data, open the site with the VPN off and then on. If it works only when off, the VPN path is the change.
- Reconnect cleanly. Disconnect the VPN, switch airplane mode on for ten seconds, switch it off, wait for the signal, then connect again. This clears cached synthetic addresses that no longer match the path.
- Try another location in the app. Open the location list and pick a different one. A path that handles IPv4 differently can change the result. Do not assume that any one location behaves like another.
- Try the site by another route. If the site has a second name or a mobile version, test it. A different name can have a real IPv6 address.
- Test with another app or browser. If one browser fails and another works, you may be looking at a browser-level DNS setting rather than the network, because browsers can have their own DNS settings.
- Check the carrier side. Ask your carrier whether your plan uses an IPv6-only network. Some offer a setting for the access point name that gives you an IPv4 or dual-stack connection instead, which usually removes the need for translation. Changing carrier settings can affect other services, so write down the old values first.
If step 8 is not an option, or none of the steps helps, collect your notes and contact support, described below.
Plain example
Suppose Nok uses a prepaid phone plan with a carrier that runs IPv6 only on mobile data. At the bus stop she turns on the VPN and opens a news site, a messaging app and a map. All work. Then she opens the website of a small local clinic to check opening hours. It spins and ends with a connection error.
At home on Wi-Fi with the VPN on, the clinic page opens. At the bus stop with the VPN off, it opens too. Only the combination of carrier network plus VPN fails. That looks like the DNS64 pattern: the clinic site publishes only an IPv4 address, the carrier would normally have turned it into a translator address, and the VPN path no longer reaches that translator.
Nok reconnects with airplane mode and the page still fails. She picks a different location in the app and it opens. She also notes this in a message to support. She is not sure why that location helped, and she does not need to know. What she gained is a workable path and a clear note to hand to support if it comes back. That is a good outcome for a problem that has several possible technical causes.

What to avoid
Some "fixes" found online do more harm than good.
- Do not permanently disable IPv6 on the phone or router just to chase one site. It can break services that rely on it, and the change is easy to forget. If you ever test it, make it temporary and write down the old value. IPv6 not working through VPN describes safer checks.
- Do not hard-code a public DNS server into the phone while the VPN is on. A fixed resolver does not provide DNS64, and it can send lookups outside the tunnel. That creates new problems, including a DNS leak.
- Do not install random "DNS fixer" apps. Many are advertising or data-collection tools, and an extra VPN-style app on the phone can fight with your real VPN for control of the network.
- Do not treat a failing site as proof the VPN is broken. One IPv4-only site failing on one carrier network is a narrow compatibility problem, not a sign that the tunnel is unsafe.
Limits and what to watch for
DNS64 and NAT64 are carrier and device features, so several things are outside your control and outside the VPN's.
- A VPN cannot guarantee that every site opens on every network. Translation layers, address families and resolver choices all interact, and a few sites will always be awkward.
- Behaviour differs between carriers, phone models and operating system versions. A fix that works on one phone may do nothing on another.
- If a site publishes a real IPv6 address, DNS64 is not involved and the cause is something else, such as a block on VPN addresses, a wrong route or a server fault.
- A site that is simply down will fail with or without the VPN. Test from a second connection before you spend time on settings.
- Some problems that look like DNS64 are really MTU or timeout problems on a slow mobile link. If pages start loading and then stall, that is a different pattern.
- Some apps rely on fixed IPv4 numbers and need extra support from the phone to work on an IPv6-only network. The VPN cannot add that support if the phone lacks it.
When none of the above explains it, escalate rather than keep changing settings. Support can look at your account and your app version, which you cannot.
When to contact support
Contact support if the failure is repeatable and you have done the basic comparisons. Send the following, in a few short lines:
- The name of the site or app that fails.
- Your phone model and system version.
- Your carrier name and whether the failure happens on mobile data only.
- The results of the VPN on and off test, and the Wi-Fi comparison.
- Which locations in the app you tried and whether any helped.
- The time of the last test, so records can be matched.
Do not send your VPN password. Your login details live on the My Pass page and should be kept private; support never needs them in a message. If you need a reminder of where the details are, the help centre covers it, and if the VPN is slow rather than failing, check the notes on mobile data stability in the same help section.
Summary
DNS64 lets an IPv6-only mobile network reach old IPv4-only websites by inventing a translatable address, and NAT64 carries the traffic the rest of the way. A VPN can change who answers the lookup and where the traffic leaves, which may separate the two halves and break a few specific sites on mobile data only. The reliable approach is to compare Wi-Fi with mobile data, compare VPN on with VPN off, reconnect cleanly, try another location and keep your notes. Avoid permanent changes until a test points to the cause, and remember that no VPN can promise every site will open on every network.
If you want a flexible way to test a VPN on your own network, you can look at the options on the pricing page and pick the number of days that fits.
Frequently asked questions
What is DNS64 in simple terms?
DNS64 is a feature of some DNS resolvers on IPv6-only networks. When a website has only an old IPv4 address, the resolver invents a matching IPv6 address that points at a translator, so an IPv6-only device can still reach the site.
Does every VPN user have DNS64 on their connection?
No. DNS64 is a choice made by a network operator, usually a mobile carrier or a specially built network. Most home broadband and most Wi-Fi networks do not use it, so most people never meet it.
Why would a VPN break a site that works without the VPN?
Because the made-up IPv6 address only works on the network that runs the translator. If the VPN sends the lookup or the traffic somewhere else, the address leads nowhere and that site fails while others keep working.
How can I tell whether DNS64 is involved?
Compare behaviour on mobile data and on ordinary Wi-Fi. If a few older or IPv4-only sites fail only on mobile data with the VPN on, and work with the VPN off, DNS64 or an IPv6 mismatch is a likely suspect.
What is the safest first fix?
Reconnect, switch between Wi-Fi and mobile data, and try a different server location in the app. Avoid permanent changes such as disabling IPv6 or hard-coding DNS servers until a simple test has pointed to the cause.
References
About the author

Bob Kanokphon Thongdee
- Founder of XPASS VPN
- Co-founder of eSIMonline.asia
- More than 7 years in online marketing
- Founder of Cojourney Visa and Cojourney Travel
Need a VPN for a short trip or a busy month?
XPASS sells prepaid passes for a set number of days. You pay once and nothing renews automatically.
See passesKeep reading

Troubleshooting
IPv6 Not Working Through VPN?
When a VPN is on, IPv6 can be tunnelled, blocked or left alone, and each behaves differently. Here is how to tell which one you have and what is worth doing.
9 min read

VPN Security
IPv4 vs IPv6 for VPN Users
Your device probably has both an IPv4 and an IPv6 address. Here is what that means for a VPN, where the two differ for privacy and security, and how to check yours.
10 min read

Troubleshooting
DNS Not Working When VPN Is Connected
When the VPN says connected but pages fail with name errors, DNS is the usual suspect. Here is how to prove it, why it happens and what to change on each device.
9 min read