adns

eyalm2000MIT活跃维护

给 Android 私有 DNS 加料的客户端,接入 NextDNS 实现广告拦截和自定义过滤规则,配合 Shizuku 免 root 配置。

Android's Private DNS Supercharged

v2.1.9发布于 2026-11-03 17:48 UTC755star +7 / 7 天25fork同步于 2026-11-10 17:56 UTC

怎么上手

由 README 提炼,执行前请确认
Windows: gradlew.bat assembleDebug
macOS/Linux: ./gradlew assembleDebug
硬件要求按 README 说明

README 未说明。运行于 Android 设备,部分功能需一次性 Shizuku 或 ADB 授权。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

Android 上的 Private DNS 控制与 NextDNS 原生客户端,无需常驻 VPN

给 Android 私有 DNS 加料的客户端,接入 NextDNS 实现广告拦截和自定义过滤规则,配合 Shizuku 免 root 配置。

核心能力

  • 一键开关系统 Private DNS,支持快捷设置磁贴
  • 按 Wi-Fi 网络自动应用 DNS 规则
  • 原生 NextDNS 面板管理配置、日志与统计
  • NextDNS 配置一键切换并同步系统 DNS 设置
  • 支持 AdGuard、Cloudflare、Quad9 等提供商与过滤选项

容易踩的坑

Private DNS 客户端与 NextDNS 集成模式需先完成一次 Shizuku 或 ADB 设置;NextDNS 面板功能需有 NextDNS 账号;Normal 版本启动时会向 GitHub 发起一次更新检查请求,FOSS 版本无此请求。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本v2.1.9
  1. v2.1.9最新正式版2026-11-03 · 2026-11-03 17:48 UTC
    • Enabled Arabic, French, and Portuguese locales
    • Updated NextDNS settings:
      • Added Block Rotating Ad Domains setting (#64)
      • Native Tracking is now out of beta and supports LG Smart TVs (#63)
      • Retired deprecated security settings (IDN Homographs and Typosquatting)
    • Fixed long domain names getting truncated in analytics details sheet (#66)
    • Updated translations

    Full Changelog: https://github.com/eyalm2000/adns/compare/v2.1.8...v2.1.9

  2. v2.1.82026-10-03 · 2026-10-03 14:13 UTC
    查看更新说明
    • Added Newly Active Domains NextDNS security setting
    • Updated translations

    Full Changelog: https://github.com/eyalm2000/adns/compare/v2.1.7...v2.1.8

  3. v2.1.72026-09-24 · 2026-09-24 08:42 UTC
    查看更新说明

    A tiny patch update this time:

    • Fixed missing strings and empty settings items across non-English locales (2.1.6 broke some settings menus for international users - sorry about the inconvenience, the issue is now fixed!)
    • Added HaGeZi DNS to the DNS server list (#53)
    • Updated translations

    P.S. We now have a new website! Visit the Main or NextDNS landing pages, or browse the Docs!

    Full Changelog: https://github.com/eyalm2000/adns/compare/v2.1.6...v2.1.7

  4. v2.1.62026-09-23 · 2026-09-23 08:38 UTC
    查看更新说明
    • Added DNSforge to the DNS server list (#47)
    • Allowed hyphens in NextDNS device names (#49)
    • Updated NextDNS security settings with upstream changes
    • Added Swedish localization and updated translations
    • Minor improvements and fixes

    Special thanks to @RayManning for sponsoring!

    Full Changelog: https://github.com/eyalm2000/adns/compare/v2.1.5...v2.1.6

  5. v2.1.52026-09-12 · 2026-09-12 09:40 UTC
    查看更新说明
    • Added 10 new NextDNS security settings, including unreleased settings
    • Added client information to log details
    • Added Indonesian translation
    • Minor bug fixes and improvements

    Full Changelog: https://github.com/eyalm2000/adns/compare/v2.1.2...v2.1.5

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    Overview

    ADNS combines a feature-rich Private DNS client for Android with a native NextDNS integration, giving you full control over your device's DNS settings and your NextDNS account.

    Download it from GitHub Releases or IzzyOnDroid.

    Visit the website or check out the user guide.

    Three Ways To Use ADNS

    1. Private DNS Client

    Use ADNS as a fast Private DNS controller when you want direct control over system DNS without using a VPN. Requires a one-time Shizuku or ADB setup.

    • Turn Private DNS on or off with a single tap
    • Apply automatic Wi-Fi rules for specific networks
    • State notifications so you can quickly see whether DNS is active
    • Quick Settings tile for instant toggle access
    • Choose your preferred provider and filtering options when supported (ads, trackers, malware, adult content, and safe search)
    • Supported providers include AdGuard, Cloudflare, Google, Quad9, OpenDNS, NextDNS, and custom hostnames

    2. Native NextDNS Dashboard

    Use ADNS as a full NextDNS app when you want to manage your account without opening a web dashboard. Requires a NextDNS account (no Shizuku or ADB needed).

    • View and edit every NextDNS profile setting right from the app
    • Inspect NextDNS logs and detailed statistics
    • View NextDNS setup guides for all devices and platforms
    • 100% native Android experience - no WebViews involved

    3. NextDNS + Private DNS Integration

    Use ADNS to link your NextDNS account directly to your device's DNS settings and keep both sides in sync. Requires a one-time Shizuku or ADB setup.

    • Seamless integration with all ADNS features (Wi-Fi rules, notifications, and Quick Settings tile)
    • Automatic NextDNS setup handled entirely for yo
    • Custom device name support (appears in your NextDNS dashboard, statistics, and logs)
    • One-click NextDNS profile switching that updates the system DNS settings for you

    Screenshots

    Privacy & Security

    ADNS is built with zero telemetry or tracking.

    Reproducible Builds

    RB Status

    ADNS supports Reproducible Builds. An independent server compiles the open-source code from this repository and compares the resulting binary against the published release APKs.

    A passing status proves that the APK you download from GitHub or IzzyOnDroid was generated directly from this exact source code, guaranteeing that no hidden code, backdoors, or credential-stealing modifications were injected during compilation.

    Credential & API Key Safety
    • No personal data or credentials are ever collected or sent to third-party servers.
    • If you log in with your NextDNS username and password, they are used a single time to generate an API key. Your password is never stored.
    • Your NextDNS API key is stored encrypted on your device and is only transmitted directly to official NextDNS API endpoints.
    Build Flavors & Network Activity

    ADNS is available in two build flavors:

    • FOSS Flavor: Completely clean network profile. It contains no update checker and makes zero external requests other than direct communication with your configured DNS provider and NextDNS.
    • Normal Flavor: Makes a single background API request to GitHub on app launch to check for new releases.

    Localization

    Help make ADNS available in your language via Weblate.

    Translation status

    Translation Components:

    1. adns-xml-strings
      These are the main UI strings used in the app. Focus on this component first if you want to contribute.

    2. nextdns-strings
      These are imported from NextDNS for the app settings. Most languages are already at 100 percent because official translations were imported. This is a very large set of strings and includes web dashboard text not used in the app, so only work on this if you want to translate a huge dataset. If you translate these, you'll have my huge kudos, and please consider submitting them to NextDNS as well :)

    Frequently Asked Questions

    Will you add DNS-over-HTTPS or VPN mode?

    No. ADNS is specifically built to leverage Android's native Private DNS engine (DNS-over-TLS) without running a background VPN service. Running a local VPN engine consumes extra battery, takes up system memory, and prevents you from using other VPN apps.

    For local VPN-based filtering, apps like AdAway or BlockAds are better and more customizable. For NextDNS users who want DoH, RethinkDNS is the answer.

    Will you add native Root support?

    No. ADNS manages system settings cleanly via Shizuku or ADB. If your device is rooted, you can easily start Shizuku in root mode with a single tap.

    For deep system-level hosts file patching or dedicated root workflows, apps like AdAway or BlockAds already specialize in that functionality.

    Does Shizuku need to run in the background all the time?

    No. After onboarding, the app doesn't use Shizuku at all.

    Build From Source

    Build using the Gradle wrapper from the project root:

    • Windows: gradlew.bat assembleDebug
    • macOS/Linux: ./gradlew assembleDebug

    Disclaimer

    ADNS is an independent project and is not affiliated with NextDNS in any way.

    License

    This project is licensed under the MIT License. See LICENSE.