Files
termux-packages/packages/findomain/hickory-resolver.diff
termux-pacman-bot 30252a4988 bump(main/findomain): 10.0.0
- Fixes https://github.com/termux/termux-packages/issues/25489

- Newer versions of "`trust-dns-resolver`" are now named "`hickory-resolver`": https://bluejekyll.github.io/blog/posts/announcing-hickory-dns/
2025-07-30 07:40:17 +00:00

12 lines
372 B
Diff

--- a/src/system_conf/unix.rs
+++ b/src/system_conf/unix.rs
@@ -29,7 +29,7 @@ use crate::proto::xfer::Protocol;
const DEFAULT_PORT: u16 = 53;
pub fn read_system_conf() -> Result<(ResolverConfig, ResolverOpts), ResolveError> {
- read_resolv_conf("/etc/resolv.conf")
+ read_resolv_conf("@TERMUX_PREFIX@/etc/resolv.conf")
}
fn read_resolv_conf<P: AsRef<Path>>(