julian-klode/dns66
Fork: 201 Star: 2141 (更新于 2024-11-20 17:00:38)
license: GPL-3.0
Language: Java .
DNS-based Host Blocker (and lightweight ad blocker) for Android
最后发布版本: v0.6.8 ( 2021-03-24 01:53:56)
DNS-Based Host Blocking for Android
This is a DNS-based host blocker for Android. In the default configuration, several widely-respected host files are used to block ads, malware, and other weird stuff.
Installing
You can either install it via F-Droid, using the official F-Droid repository, or you can use my personal repository at https://jak-linux.org/fdroid/repo which gets updates ASAP.
You can also download apk files in GitHub's download section. Currently, these are the same files as in my personal F-Droid repository, but that might change in the future.
XDA: Discussions and preview builds
There is a thread at XDA, where DNS66 can be discussed and I occasionaly post preview builts of the git repository:
https://forum.xda-developers.com/android/apps-games/app-dns66-source-host-ad-blocker-root-t3487497
Using it
On the first start, you must manually update the hosts files (using the refresh button) before the service can work correctly (issue #1); and you must also update the hosts files yourself regularly for now (issue #2).
Items in the hosts and DNS servers lists can be moved around and removed) of the list using standard RecyclerView interactions (long press makes the entry movable, swipe to either side removes it). For hosts, a later entry overrides a previous entry; for DNS servers, the first server is preferred.
Currently, there are some minor usability issues:
- If you change a setting, you must manually restart the vpn service (issue #3)
- IPv6 servers are not supported (issue #4)
There's also no validation of input, so DNS servers that are not valid IPv4 addresses are not rejected, neither are URLs for DNS server entries (we intend to support URLs in the future, so you can point the app to a remote list of servers).
How it works
The app establishes a VPN service, with routes for all DNS servers diverted to it. The VPN service then intercepts the packages for the servers and forwards any DNS queries that are not blacklisted.
Custom upstream DNS can be configured. If the feature is turned off, the current connection's DNS servers are used. The app ships are pre-defined list of well known (mostly German) non-logging servers courtesy of the Chaos Computer Club.
Privacy Guarantee
Privacy is the most important aspect of DNS66. Currently, DNS66 is strictly data reducing: Running it can only reduce the amount of data leaving your device, not increase it (except for fetching hosts files, obviously), as for each request, we will either allow it to leave your device or not - we will not send other requests or add other information to the request.
While not yet implemented, future versions of DNS66 might have additional features that might share more data than your phone normally would. Among these features are:
-
Automatic updates. Your phone might periodically contact servers to query for new upstream versions and new host lists. DNS66 will only include as much data as necessary to complete the request.
-
Debugging. We hope to have a better way to debug program failures than manually running logcat. Such a feature by definition requires sharing debug logs. Debug logs (including logcat) may include personal information, and you should review them before sharing them publicly.
If such a feature is added, you will be presented with the choice to enable it (it will be disabled by default). No such feature will be turned on without your explicit consent (for example, clicking yes in a dialog asking whether you want to have automatic updates).
Contributing
See CONTRIBUTING.md
License
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Parts of the program are licensed under only version 3 of the license, and some parts might be licensed under the terms of other compatible licenses. See the file copyright for further (machine-readable) information.
Binaries also bundle external libraries. To the best of our knowledge those are licensed under the Apache license, version 2.0, except for pcap4j, which is licensed under the MIT license, and dnsjava, which uses a 3 clause BSD license. See the file copyright.libraries for further (machine-readable) information.
Code of Conduct
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
Authors
Julian Andres Klode jak@jak-linux.org
Parts are derived from https://github.com/dbrodie/AdBuster by Daniel Brodie.
最近版本更新:(数据更新于 1970-01-01 00:00:00)
2021-03-24 01:53:56 v0.6.8
2021-01-16 05:23:23 v0.6.7
2020-09-12 05:25:28 v0.6.6
2020-02-29 20:57:22 v0.6.5
2020-02-29 05:42:57 v0.6.4
2020-02-29 05:33:23 v0.6.3
2020-02-29 04:38:46 v0.6.2
2019-09-07 17:36:40 v0.6.1
2019-02-07 04:04:26 v0.6.0
2017-11-27 05:58:30 v0.5.8
主题(topics):
ad-blocker, adblock, android, blocker, fdroid, gplv3, gradle, java
julian-klode/dns66同语言 Java最近更新仓库
2024-11-21 20:32:01 spring-projects/spring-boot
2024-11-21 09:44:43 Card-Forge/forge
2024-11-19 23:42:52 spring-projects/spring-authorization-server
2024-11-18 21:40:12 4379711/lol-helper
2024-11-16 22:50:41 xuxueli/xxl-job
2024-11-16 19:06:35 Stirling-Tools/Stirling-PDF