How to check a VPN for DNS leaks on hotel Wi-Fi
To check a VPN for DNS leaks, compare the results from IPLeak.net without a VPN and with a VPN connected. A protected connection is expected to show the VPN provider's DNS or the DNS of a provider you have chosen deliberately. An unexpected DNS resolver belonging to the internet provider requires checking the route the queries take, even if the public IP has changed.
A DNS test does not replace separate IPv6 and WebRTC checks. If you are testing the system DNS, disable the browser's Secure DNS: otherwise the result will show the request path chosen by the browser.
1. How to compare results on hotel Wi-Fi
For an accurate comparison, only the VPN state should change between measurements. Comparitech recommends recording the result without a VPN first and then repeating the check with the tunnel connected. ITechGuides specifies: the device, the browser, the network and the test itself must remain the same.
A DNS resolver is a server that answers queries about website addresses. IPLeak shows the resolvers that answered the test queries. The initial measurement will help you see which addresses remained after the VPN was connected.
- Disconnect the VPN in the VPN app.
- Open IPLeak.net in the browser over the hotel Wi-Fi.
- Note down the public IP, the DNS resolver addresses and the locations shown.
- Connect the VPN in the app.
- Repeat the IPLeak test in the same browser.
When comparing the results, both the DNS addresses themselves and who they belong to matter.
2. What to do with an unexpected result
An unexpected DNS resolver is a reason to check the settings and the route of the queries, but it is not yet a full diagnosis. That is the point made by ITechGuides when examining the appearance of the internet provider's resolver in the results. The app's message about a successful connection also does not explain where the DNS queries go.
If an unexpected DNS resolver belonging to the internet provider remains in the results, the procedure is as follows:
- Enable DNS protection in the VPN app. Serverbrief lists possible names for the setting: DNS leak protection or use VPN DNS only.
- Reconnect the VPN.
- Repeat the test.
If the results differ between browsers, they should not be compared directly. For a repeat comparison you need a single browser with an unchanged Secure DNS setting: that way the test conditions will stay the same.
If the result changed after a switch of server or network interface, it is worth checking the split tunnelling rules. They will help you understand whether some connections go outside the VPN. A repeat test after each change will show which action the discrepancy is linked to.
3. How to keep protection when reconnecting
App and phone settings help to keep protection when the connection changes. For Android, FortiSafe lists the system settings Always-on VPN and Block connections without VPN.
- Enable DNS transmission through the tunnel in the VPN app, if the setting is available.
- Enable the kill switch in the VPN app, if the switch is available.
- On Android, enable Always-on VPN in the system VPN settings.
- In the same settings, enable Block connections without VPN, if the setting is available.
- Repeat the IPLeak test after reconnecting the phone to the hotel Wi-Fi.
The same test is needed after switching from Wi-Fi to mobile data. WebVPN notes that leaks can appear only after reconnection.
If blocking is enabled on Android, a lack of internet while the VPN is disconnected is expected. Protected access will return once the VPN connection is restored.
4. How to assess the test result
A successful measurement confirms the result only for the connection state you tested. After a change of VPN server, network interface or split tunnelling rules, the previous result needs to be updated.
Assess the WebRTC test result on IPLeak separately. If the internet provider's public IP is visible instead of the expected VPN exit, that means a leak. Further steps are described in the guide on checking WebRTC and IPv6.
The table summarises the DNS check procedure — from the initial measurement to returning to the hotel network.
| Stage | What to do |
|---|---|
| Initial measurement | Note the IP, DNS and locations without a VPN |
| VPN connected | Repeat the same test; match the DNS against the VPN provider or a deliberately chosen DNS provider |
| DNS fix | Enable protection, reconnect and repeat the test |
| Return to the hotel network | Check the connection again after reconnecting |
The main thing is to compare measurements under identical conditions and to update the result after any change to the connection. CitadelVPN works for DNS protection and traffic blocking during dropouts while travelling.