Environment
- Device: Android phone
- Architecture: arm64
- App: Termux
- bitsrun version: android_arm64 release
- Network: campus network (srun)
Problem
bitsrun fails to resolve DNS on Android/Termux.
Error:
lookup gw.xju.edu.cn on [::1]:53:
read udp [::1]:xxxxx->[::1]:53:
read: connection refused
What I tested
- curl works normally
- ping works normally
- DNS works in Termux
- resolv.conf configured manually
- GODEBUG=netdns=cgo tested
- GODEBUG=ipv6=0 tested
But bitsrun still forces DNS queries to [::1]:53.
Additional info
The downloaded binary is:
bitsrun_android_arm64.tar.gz
Architecture check:
ELF 64-bit LSB pie executable, ARM aarch64
Looks like the Go resolver is not correctly using Android netd DNS.
Maybe CGO_ENABLED=0 or Go resolver issue on Android.
Environment
Problem
bitsrun fails to resolve DNS on Android/Termux.
Error:
What I tested
But bitsrun still forces DNS queries to
[::1]:53.Additional info
The downloaded binary is:
Architecture check:
Looks like the Go resolver is not correctly using Android netd DNS.
Maybe CGO_ENABLED=0 or Go resolver issue on Android.