So I've been using pihole and my Android 7 phone is making some unexpected requests to DNS for a particular domain. Is there an app or technique I can use to find which app is initiating those request. It seems the Java level DNS cache won't have that info.
I'd guess one needs to intercept requests to the phones DNS service (*), recording the requested domain and the requesting app; are their hooks in Android to do that?
I don't have root. Any help appreciated.
(* - yes I know what this acronym means!)
dnscrypt-proxy
to view/block all DNS requests. It can be combined withiptables
owner module to find out which requests are made by which app. – Irfan Latif Feb 16 '19 at 13:55