Yes it is.
Check who is answering your dig
in Termux:
Termux runs in a different environment/jail/chroot or whatever.
The other apps should still honor the DNS settings in Android though.
Could install the "Network info" app end check Android DNS IP's configured for WiFi.