fix(macos): update DNS to use 114.114.114.114 for TUN overwrite (#6250)

This commit is contained in:
Tunglies 2026-02-04 09:27:33 +08:00 committed by GitHub
parent a8e51cc6bb
commit b3a1fb8d23
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -22,5 +22,6 @@
- 安装服务失败时报告更详细的错误
- 避免脏订阅地址无法 Scheme 导入订阅
- macOS TUN 覆盖 DNS 时使用 114.114.114.114
</details>

View File

@ -61,7 +61,7 @@ pub fn use_tun(mut config: Mapping, enable: bool) -> Mapping {
{
AsyncHandler::spawn(move || async move {
crate::utils::resolve::dns::restore_public_dns().await;
crate::utils::resolve::dns::set_public_dns("223.6.6.6".to_string()).await;
crate::utils::resolve::dns::set_public_dns("114.114.114.114".to_string()).await;
});
}
}