Termux too seems a bit weird. Its default resolv.conf uses '8.8.8.8'
Erm, sorry if I'm missing something obvious (and for replying to an old topic!), but my Termux doesn't seem to have a resolv.conf file — I can't find that in /etc nor anywhere in the filesystem, nor even anything similar…
If I create an /etc/resolv.conf file, will it use that? Or is some other set-up needed?
I did not have this file either, but when I ran nslookup, it wanted me to install the package dnsutils, which had a dependency of resolv-conf.
I have the file there now (/data/data/com.termux/files/usr/etc), but changed the name server to something other than google.
nameserver 129.250.35.250
nameserver 129.250.35.251
Now, when I run nslookup, the default name server for lookups is 129.250.35.250:
$ nslookup
> www.oesf.org
Server: 129.250.35.250
Address: 129.250.35.250#53
Non-authoritative answer:
www.oesf.org canonical name = vhost.ibiblio.org.
Name: vhost.ibiblio.org
Address: 152.19.134.41
Perhaps the name lookup is specific to termux and not the entire OS.
miked1541