mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-04-13 05:20:28 +08:00
fix(macos): update DNS to use 114.114.114.114 for TUN overwrite (#6250)
This commit is contained in:
parent
a8e51cc6bb
commit
b3a1fb8d23
@ -22,5 +22,6 @@
|
|||||||
|
|
||||||
- 安装服务失败时报告更详细的错误
|
- 安装服务失败时报告更详细的错误
|
||||||
- 避免脏订阅地址无法 Scheme 导入订阅
|
- 避免脏订阅地址无法 Scheme 导入订阅
|
||||||
|
- macOS TUN 覆盖 DNS 时使用 114.114.114.114
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|||||||
@ -61,7 +61,7 @@ pub fn use_tun(mut config: Mapping, enable: bool) -> Mapping {
|
|||||||
{
|
{
|
||||||
AsyncHandler::spawn(move || async move {
|
AsyncHandler::spawn(move || async move {
|
||||||
crate::utils::resolve::dns::restore_public_dns().await;
|
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;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user