Would it be possible to have the android app disconnect vpn when your connected to a home network that's using nextdns?
and more. This presupposes you know which wifi network uses nextdns.
If not there's likely someone more Tasker savvy who could use busybox tools to probe for that.
they had that feature in the app and they removed it , because it did not work . I wish they bring it back
This would be best handled by a third party app