Help Center
Custom DNS
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
-
GUI: Access the
Settings
area by tapping on the “gear” icon and navigate to theDNS
tab. Check theUse Custom DNS
box 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.1
orivpn dns -doh https://cloudflare-dns.com/dns-query 1.1.1.1
. Typeivpn dns -off
to revert back to using IVPN DNS.
iOS
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
Settings
and enter the preferred IPv4 or DoH/DoT address in theCustom DNS for VPN
or/andDisconnected Custom DNS
areas.
Android
-
Access the
Settings
area by tapping on the “gear” icon and navigate toCustom DNS
. Toggle theUse Custom DNS
switch 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 DNS
and enter the preferred DoT address.
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
- How do I remotely connect to my home system or services behind the VPN connection?
- Answers for "18 Questions to ask your VPN Service provider"
- What speed can I expect / how fast is IVPN?
- Does IVPN support pfSense firewall?
- WireGuard FAQ
Still have questions?
Get in touch and we'll get back to you in a few hours.
Contact supportInterested in privacy?
Read our latest privacy news and keep up-to-date on IVPN services.
Visit IVPN Blog