How to Log DNS Requests using Adaway

  1. Start AdAway and go to the Menu.
  2. Select “Log DNS Requests”
  4. Wait until it shows ‘TCPDUMP IS RUNNING!’
  5. (Whitelist only): Go to the main screen and click the button to ‘Disable Adaway’.
  6. Open the App you wish to monitor for a while. Click around on things and use the application as you normally would.
  7. Go back to AdAway / Menu / Log DNS Requests and select ‘OPEN LOG FILE’.
  8. There you look for suspicious hostnames.
  9. REMOVE ADS (Blacklist): Try to block some of them by adding them to your Blacklist from that screen (long press a hostname), reapply AdAway and restart your Android device.
  10. FIX APPS THAT AREN’T WORKING (Whitelist): Look for some of the hosts the app will try to connect to and add to your Whitelist to allow it. (Keep in mind this will allow ANY app to connect to that URL to pull ads.)
  11. (Whitelist only): Re-apply Adaway to see if your whitelist additions worked. Remember if you see a bunch of similar host names like ‘’, ‘’, ‘’; you can just add one of them to your whitelist, long press on it to edit. Then change to ‘*’ to whitelist that whole domain.

If you are not getting any logs showing up then the TCPDump process could be getting killed by SELinux enforcing policy.

Leave a Comment