Custom DNS - IVPN Help (original) (raw)
Help Center
General Troubleshooting Billing Passwords Privacy Windows macOS GNU/Linux iOS Android Routers Media Players
IVPN apps are configured to automatically apply our internal zero-logging DNS IP address every time you connect to the VPN server to mitigate DNS leaks on your system.
We understand that in some cases, one can benefit more from using a custom DNS server. No matter the reason you need to use one, with IVPN apps, you can have it customized in just a few steps.
DNS requests made to public DNS servers will first pass through the VPN tunnel, so there is still a level of privacy and security in place when using a Custom DNS server.
Windows, macOS, and Linux
Supported address types: IPv4, DNS-over-HTTPS
- GUI: Access the
Settingsarea by tapping on the “gear” icon and navigate to theDNStab. Check theUse Custom DNSbox and enter the preferred IPv4 address or the DNS-over-HTTPS URI string plus that DoH provider’s corresponding IPv4 address. - Command Line: Open a Terminal window and run, e.g.:
ivpn dns 1.1.1.1orivpn dns -doh https://cloudflare-dns.com/dns-query 1.1.1.1. Typeivpn dns -offto revert back to using IVPN DNS.
iOS
Supported address types: IPv4, DNS-over-HTTPS, DNS-over-TLS
Custom DNS in the IVPN app for iOS can be configured and used when the VPN is connected or disconnected.
- In the IVPN app, navigate to
Settingsand enter the preferred IPv4 or DoH/DoT address in theCustom DNS for VPNor/andDisconnected Custom DNSareas.
Android
Supported address types: IPv4. DNS-over-TLS via Android native Private DNS feature
- Access the
Settingsarea by tapping on the “gear” icon and navigate toCustom DNS. Toggle theUse Custom DNSswitch on and enter the preferred IPv4-based IP address. - DNS-over-TLS can be set using the Android OS native Private DNS feature. On your device, navigate to
Settings-More connections-Private DNS. SelectConfigure Private DNSand enter the preferred DoT address.
modDNS with the IVPN App
Supported address types: IPv4, DNS-over-HTTPS, DNS-over-TLS, DNS-over-QUIC
- On the Custom DNS Settings screen or via the CLI, use the modDNS profile’s DNS-over-HTTPS URI string
https://dns.moddns.net/dns-query/abc123plus the IP address89.124.253.5replacing theabc123with the actual profile ID. - The modDNS account area also offers a configuration profile (
.mobileconfigand QR code) for Apple devices.
Current limitations
- Custom DNS works only with OpenVPN and WireGuard VPN protocols
- Custom DNS cannot be used together with AntiTracker as the latter will override the entries specified in the Custom DNS field
- IPv6-based IP addresses are not yet supported
Related Articles
- Configuring the IVPN app to autoconnect
- Do you offer dedicated or static IP addresses?
- Why is the location of the server not accurate?
- Do you support Chromebook?
- SOCKS5 Proxy Service
Still have questions?
Get in touch and we'll get back to you in a few hours.
Interested in privacy?
Read our latest privacy news and keep up-to-date on IVPN services.
Spotted a mistake or have an idea on how to improve this page?
Suggest an edit on GitHub.