Using NextDNS Private DNS with VPN - does it work?
Hi there, I want to use a VPN like Mullvad but keep using NextDNS. This is on an Android 11 Phone and a Mac 10.15. I know it is not possible for both to use the one VPN slot. I have seen lots of (for me) too complicated explanations for how to nevertheless use both at the same time. As far as I can see, a simple way is to add my NextDNS profile (xxxxxx.dns.nextdns.io) as the Private DNS on my phone and add the NextDNS server addresses (eg 22.214.171.124) as the DNS addresses on the Mac. This seems to work, the logs show NextDNS working with both devices and it is very simple but I am suspecting there is a problem partly because it seems so much easier than the other methods suggested and because I have seen no-one else suggesting this method. Are these two configurations using my NextDNS blocklists (which is what I want) or just connecting via NextDNS? The logs seem to show they are doing the former. Are there any security issues, eg some of the logs do not show a padlock sign by the log which is what I am used to seeing. Is this because it is via HTTPs not TLS?. In short, given the simplicity of this solution and lack of people suggesting this method, does this work for combining a VPN with NextDNS on Android phone and Mac and allowing the NextDNS blocklists to be used. I have above average capability with techy stuff but not enough to understand the other solutions I have seen. Thanks for any advice!
You cannot run two VPNs at the same time.
So use the private DNS settings instead of the nextdns app (which creates VPN) and your VPN of your choice.
However it is possible to run two VPNs at the same time but one must be in the safe folder so you can run your Mullvad that affect only the apps that are in that folder that only in cases you need another VPN or to apply the VPN on certain apps.
So activate the safe folder and add the apps you like. This folder is like a second account...
The private DNS from my experience overrides every other DNS VPN exist.
I have Samsung Android 11
I don't have a Mac, but I use NextDNS via my Pixel's Private DNS setting and it works great with my VPN Unlimited on that device. All my queries are routed through NextDNS and I can see them in the logs. NextDNS also works this way on my Win10 laptops with both VPN Unlimited and Windscribe vpn . Haven't tested with Proton VPN yet.
Yes, it's possible. I can only speak for iOS and Mac though. You can take a look at this guide. It involves using apps that allow you to set custom DNS, like Viscosity and Passepartout.
You can't use the NextDNS IPv4 IP on Mac, the VPN will override it. Also, this will lose your configuration ID every time you receive a new IP from your ISP.
You could try the IPv6 DNS IP on Mac, but again, most VPN connections will override this, unless you specifically use apps like Viscosity, which can use custom IPv6 DNS, or Passepartout, which can use custom DoH DNS (and more).
In case of Mullvad, they mention custom DNS as an option, as long as it's not DoH/DoT. This means you could try putting the NextDNS IPv6 IP directly into the Mullvad app and test what is shown on browserleaks.