diff --git a/uniffi/clash-android-ffi/src/lib.rs b/uniffi/clash-android-ffi/src/lib.rs index 96cb6a8..0d6a3c8 100644 --- a/uniffi/clash-android-ffi/src/lib.rs +++ b/uniffi/clash-android-ffi/src/lib.rs @@ -253,14 +253,21 @@ async fn run_clash( vec![ NameServer { net: DNSNetMode::DoT, - host: Host::Domain("dns.alidns.com".to_string()), + host: Host::Ipv4(Ipv4Addr::new(223, 5, 5, 5)), port: 853, interface: None, proxy: None, }, NameServer { net: DNSNetMode::DoT, - host: Host::Domain("dot.pub".to_string()), + host: Host::Ipv4(Ipv4Addr::new(223, 6, 6, 6)), + port: 853, + interface: None, + proxy: None, + }, + NameServer { + net: DNSNetMode::DoT, + host: Host::Ipv4(Ipv4Addr::new(1, 1, 1, 1)), port: 853, interface: None, proxy: None,