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. 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. 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. 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).

Features

  • 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
  • Items in the hosts and DNS servers lists can be moved around and removed) of the list using standard RecyclerView interactions
  • Lightweight ad blocker for Android

Project Samples

Project Activity

See All Activity >

Categories

DNS, Ad Blockers

License

GNU General Public License version 3.0 (GPLv3)

Follow DNS-Based Host Blocking for Android

DNS-Based Host Blocking for Android Web Site

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of DNS-Based Host Blocking for Android!

Additional Project Details

Operating Systems

Android

Programming Language

Java

Related Categories

Java DNS Software, Java Ad Blockers

Registered

2023-02-21