News for hackers. Stuff that matters.
Re:Gambling and Adult content DNS blocking using Mullvad VPN by square_usual on Wednesday July 13, 2022 @07:42AM (#32081324)
Someone else posted that this isn't a feature they would look for in a VPN, and I'd mostly agree except for one big problem: VPNs are the only way to effectively block things in iOS and (un-rooted) Android, and you can only have one VPN active at a time. This means that you have to choose between either having a proper VPN connected or a fake one to block content you don't like. Mullvad's ads, trackers and malware blocking DNS has been awesome when I'm on my iPhone and don't want to deal with ads in apps. I'm sure some other people who have dependence issues with gambling or adult content would appreciate being able to use their preferred VPN while also blocking content.
Re:Gambling and Adult content DNS blocking using Mullvad VPN by achairapart on Wednesday July 13, 2022 @09:46AM (#32082649)
On iOS you can install a configuration profile that setup a DNS-over-HTTPS endpoint without touching the VPN settings. NextDNS does this when you install their app from what I remember. For other examples, see the profiles offered by AhaDNS.com[0].

On Android there is a Private DNS option where you can also setup a DNS-over-HTTPS endpoint of your choice.

These options may be also a better choice for battery life than a fake VPN connection.

[0]: https://github.com/AhaDNS/setup-guides/blob/master/Apple/iOS...

Re:Gambling and Adult content DNS blocking using Mullvad VPN by Scoundreller on Wednesday July 13, 2022 @12:22PM (#32084833)
Just did this last week, and it’s been life changing over mobile:

https://news.ycombinator.com/item?id=32041238#32041742

Re:Gambling and Adult content DNS blocking using Mullvad VPN by rsync on Wednesday July 13, 2022 @10:08AM (#32082940)
The android setting wherein you can input a standard DNS-over-HTTPS endpoint is sensible and sane.

Is it, in fact, correct that there is no such setting in iOS and has to be app-enabled ? Or are you saying I can either manage the device with configurator2 and put that setting in or I can install an app (like nextdns) that does it for me ?

Really frustrating that simple config options like DNS server and setting the name of your hotspot SSID are nonexistent in iOS ...

Re:Gambling and Adult content DNS blocking using Mullvad VPN by achairapart on Wednesday July 13, 2022 @10:56AM (#32083599)
In iOS from what I know you need a configuration profile for that, I don't think it needs to be signed.

Yes, you can make one with Apple Configurator 2, but there is also some tooling/app that may help, like:

https://dns.notjakob.com/

https://github.com/kkk669/DNSecure

Re:Gambling and Adult content DNS blocking using Mullvad VPN by whatsthatabout on Wednesday July 13, 2022 @10:57AM (#32083611)
Is this really true? Because on macOS exactly this "workaround" does not work: https://github.com/AdguardTeam/AdGuardDNS/issues/214
Re:Gambling and Adult content DNS blocking using Mullvad VPN by achairapart on Wednesday July 13, 2022 @11:02AM (#32083692)
Sorry, I can't tell for macOS, but on iOS i have a few DNS profiles and they all seems to work.
Re:Gambling and Adult content DNS blocking using Mullvad VPN by whatsthatabout on Wednesday July 13, 2022 @11:48AM (#32084340)
In addition to running a VPN? That's what the main comment was about, wasn't it? The profiles alone do work.
Re:Gambling and Adult content DNS blocking using Mullvad VPN by achairapart on Wednesday July 13, 2022 @12:17PM (#32084769)
As I understood it was about blocking content (via DNS) *even without a fake VPN connection*. Once you run a VPN connection, most likely its DNS takes over, profile or not profile.
Re:Gambling and Adult content DNS blocking using Mullvad VPN by TheGoddessInari on Wednesday July 13, 2022 @11:45AM (#32084291)
The very thing you're linking to is because of running conflicting software on MacOS.
Re:Gambling and Adult content DNS blocking using Mullvad VPN by whatsthatabout on Wednesday July 13, 2022 @11:51AM (#32084392)
Yes I know but that's what the parent comment(s) are about? Using a profile for DNS settings instead of a fake VPN because you can't run more than one active VPN at a time.
Re:Gambling and Adult content DNS blocking using Mullvad VPN by Arubis on Wednesday July 13, 2022 @08:17AM (#32081604)
Without disagreeing that folks would want an all-in-one solution, a potential alternative is to use a service like https://nextdns.io/ in addition to your VPN.
Re:Gambling and Adult content DNS blocking using Mullvad VPN by notRobot on Wednesday July 13, 2022 @08:52AM (#32081916)
On Android, the NextDNS app registers itself as a VPN, so you can't use it simultaneously with, say, Mullvad.

The custom DNS option in Android's network settings rarely seems to work in my experience, but I haven't tried in a couple years.

Re:Gambling and Adult content DNS blocking using Mullvad VPN by onlyusername on Wednesday July 13, 2022 @10:26AM (#32083218)
>On Android, the NextDNS app registers itself as a VPN

It does this for macOS and iOS too, which has caused issues when both were trying to set the DNS on the machines.

Re:Gambling and Adult content DNS blocking using Mullvad VPN by whatsthatabout on Wednesday July 13, 2022 @10:57AM (#32083601)
This is particularly unlucky for macOS if you want to use a application-firewall like "Little Snitch" - since Apple removed kernelextensions on macOS (which LittleSnitch and others used before) they now have to also fake a VPN. Because of this, you cannot use a custom DNS and Little Snitch. [1]

[1]:https://github.com/AdguardTeam/AdGuardDNS/issues/214

Re:Gambling and Adult content DNS blocking using Mullvad VPN by sha-3 on Wednesday July 13, 2022 @09:40AM (#32082569)
It has almost always worked on my devices though.
Re:Gambling and Adult content DNS blocking using Mullvad VPN by zinekeller on Wednesday July 13, 2022 @10:21AM (#32083136)
If you're only using Pixels, don't underestimate how bad OEMs can screw up their version of Android.
Re:Gambling and Adult content DNS blocking using Mullvad VPN by comprev on Wednesday July 13, 2022 @08:51AM (#32081897)
Upvote for NextDNS. Their platform has been a game changer for me on all devices/computers and really enjoy the granularity of filtering. Happy customer here!
Re:Gambling and Adult content DNS blocking using Mullvad VPN by jeroenhd on Wednesday July 13, 2022 @08:52AM (#32081908)
As I've recently been made aware here on HN, on Android system applications can bind to an arbitrary interface so they can effectively bypass the VPN system. I don't think it happens often in practice, but it's something to keep in mind.
Re:Gambling and Adult content DNS blocking using Mullvad VPN by flas9sd on Wednesday July 13, 2022 @06:41PM (#32089640)
on paper (Android 8 and up) has the always-on type VPN that blocks any network connection not using the vpn (disallows bypass). Didn't poke it yet how it works if multiple apps create VPNs, I assume only one VPN of this type can be active
Re:Gambling and Adult content DNS blocking using Mullvad VPN by jeroenhd on Thursday July 14, 2022 @07:00AM (#32094342)
The single app restriction is a consequence of how the API works, but the always on VPN doesn't prohibit system apps from binding to an interface and bypassing the VPN configuration.

This kind of makes sense, you probably want a modem manager to talk to the modem interface directly, but it can be abused by data hungry manufacturers and perhaps Google.

Re:Gambling and Adult content DNS blocking using Mullvad VPN by flas9sd on Thursday July 14, 2022 @10:05PM (#32103810)
thanks for your clarification. With custom roms there is at least user control on system apps and their permissions.
Re:Gambling and Adult content DNS blocking using Mullvad VPN by cntrl on Wednesday July 13, 2022 @07:49AM (#32081379)
By using a WireGuard VPN you could actually be connected to multiple endpoints at a time, if you are able to set the same tunnel IP for all endpoints. That would enable you to have that one connection open routing to different servers (Mullvad / Homelab / Offsite Lab / Work / etc ...) hence also using your own DNS resolver with a commercial VPN.
Re:Gambling and Adult content DNS blocking using Mullvad VPN by tambeb on Wednesday July 13, 2022 @07:53AM (#32081414)
Android, since Pie, supports DNS over TLS, and I personally use it for ad blocking.
Re:Gambling and Adult content DNS blocking using Mullvad VPN by neonsunset on Wednesday July 13, 2022 @09:23AM (#32082334)
If you only need Safari, AdGuard does a surprisingly good job, far superior than what you can get on Android.
Re:Gambling and Adult content DNS blocking using Mullvad VPN by ugjka on Wednesday July 13, 2022 @09:56AM (#32082773)
On Android you can have Firefox with uBlock origin
Re:Gambling and Adult content DNS blocking using Mullvad VPN by hgazx on Wednesday July 13, 2022 @10:39AM (#32083397)
He said superior.
Re:Gambling and Adult content DNS blocking using Mullvad VPN by scopecreep on Wednesday July 13, 2022 @11:24AM (#32083967)
Doesn't AdGuard allow 'approved ads'?
Re:Gambling and Adult content DNS blocking using Mullvad VPN by yewenjie on Wednesday July 13, 2022 @07:45AM (#32081349)
Doesn't Android have a private DNS server option now?
Re:Gambling and Adult content DNS blocking using Mullvad VPN by rand49an on Wednesday July 13, 2022 @09:27AM (#32082390)
Yes, I NextDNS with this option and it works great.
Re:Gambling and Adult content DNS blocking using Mullvad VPN by sillysaurusx on Wednesday July 13, 2022 @12:23PM (#32084849)
Wait, Mullvad acts as an adblocker for iOS? That’s wonderful. I didn’t know such a thing existed.