Max Lv 决定 meow-android 默认启用内置 DNS,保留配置文件 DNS 选项

Max Lv 在 meow-android #131 中决定保留 #129 引入的配置文件 DNS 支持,同时默认启用 Built-in DNS;相关 #135 已合并。缺失、空、无效或不可读的状态均使用内置 DNS,只有显式保存 profile 才选择配置文件 DNS,已有保存选择保留。他报告相关 CI、本地内核与 mobile 共 366 项单元测试及 Android lint 通过,但实机检查尚未执行;受限 UDP/TCP 53 网络、DoT/DoH 与 bootstrap、重连及进程重启、Wi-Fi/移动网络切换、非 A/AAAA 查询和实际分流连接,仍须在 v1.0.8 之后的下一版本发布前验证。

作者原文

Decision: option 2 — keep #129's profile-DNS support, with Built-in DNS on by default. Implemented by #135, squash-merged as fb5d123.

  • Missing, empty, invalid or unreadable state means built-in. Only an explicitly saved profile opts out, and existing saved choices are kept.
  • CI on 76e0c07 was green: test, unit-test, apk, rust-lint, android-lint, build and android-instrumented-test. Locally, the core and mobile unit tests (366, 0 failures) and :mobile:lintDebug pass.

Closing this issue. The on-device checks listed in the review have not been run. They are the release checklist for the next version after v1.0.8 and should be done before it ships:

  • fresh install and upgrade with UDP/53 blocked
  • profile opt-out with DoT and DoH, surviving a reconnect and a process restart
  • TCP/53 blocked, using encrypted DNS with a working bootstrap
  • a blocked UDP bootstrap, and both paths blocked
  • Wi-Fi/mobile transitions and non-A/AAAA queries
  • aps.amap.com route selection, checking the actual connection