这是indexloc提供的服务,不要输入任何密码
Skip to content
Discussion options

You must be logged in to vote

I see, unfortunately, the normal nslookup from the dnsutils package does use the /data/data/com.termux/file/usr/etc/resolv.conf and not the system DNS,

however, I found online this other program, which is a different nslookup, and it looks to me like this one uses system DNS and not /data/data/com.termux/file/usr/etc/resolv.conf.

curl -O https://raw.githubusercontent.com/dmikushin/nslookup-android/refs/heads/master/src/nslookup.c
clang -onslookup nslookup.c
./nslookup google.com

does this help you?

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@typenoob
Comment options

@robertkirkman
Comment options

Answer selected by typenoob
@typenoob
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants