IngoZenz / personaldnsfilter

See http://www.zenz-solutions.de/personaldnsfilter for details
GNU General Public License v2.0
616 stars 53 forks source link

PersonalDNSfilter turns off #299

Open Coasie opened 3 months ago

Coasie commented 3 months ago

I have switched from Blokada 5 on our 2 phones, a Samsung S21+ and a Google Pixel 6, both running the manufacturers stock Android 14 builds, with the rom and all play store apps up to date. I have made no configuration edits to PersonalDNSfilter, and have 4 of the included blocklists enabled.

I have turned off battery optimization for personalDNS filter on both phones. S21+ > App Info > Battery > Unrestricted Pixel 6 > App info > App Battery Usage > Allow background usage

VPN for personalDNSfilterService is set to Always-on VPN VPN for Blokada 5 has been turned off

personalNDSfilter turns off after some time on both phones, and the VPN key icon obviously disappears. With the exact same setup, Blokada was never found disabled.

If I open the personalDNSfilyter app when it is closed, it opens right up and automatically enables, and the key icon appears. But it will eventually (hours or a day or two) turn off again on both phones.

Any ideas how to correct this, either on my end, or with a bug fix?

IngoZenz commented 3 months ago

I am also running on Pixel 6 but without any issues. Samsung is pretty special with regards to killing background apps. See https://dontkillmyapp.com/samsung for more details. If issue is remaining, please run pDNSf in debug mode (set debug = true in dnsfilter.conf). Once the issue occurs restart 1 time and send me the resulting logcat file from the personalDNSfilter folder.

Coasie commented 3 months ago

debug is now enabled, and I have restarted pDNSf. When the issue occurs, do I restart pDNSf or the phone? What is the path to the logcat file and what is the best way to send you the logcat file when ready?

Nothing there now, but will it show in /storage/android/data/dnsfilter.android/files/personaldnsfilter/log ??

IngoZenz commented 3 months ago

The folder is /storage/emulated/0/Android/data/dnsfilter.android/files/PersonalDNSFilter. You can send by mail to i.z at gmx.net. You need to restart the app, not the whole phone.

Coasie commented 3 months ago

Just sent the S21+ logcat, the Pixel6 is still working well.

Coasie commented 3 months ago

did the logcat provide any useful information? pDNSf still turns off every day or so

IngoZenz commented 3 months ago

Unfortunately not. For the Samsung device please also check https://dontkillmyapp.com/samsung

Coasie commented 3 months ago

Happening on the Pixel 6 again too.