Blocking DNS resolution is a very crude but simple safety net I put around websites that I have moral issues with — by blocking DNS resolution I prevent a connection being made to the remote host in the first place, which greatly reduces their ability to do much of anything with my data, or my eyeballs. This isn't about advertisers; it's really easy for ad networks to make this sort of thing ineffective and unscalable. Ad blockers try to discard the ads and keep the contents; I want neither.

How can I achieve that, or a similarly effective barrier, on unrooted Android M?

  • You can't on an rooted device, even if rooted you can only control WiFi DNS resolution, but not on mobile data.
    – acejavelin
    Nov 13, 2016 at 14:13
  • @acejavelin He could set up iptables and discard any packet going to or coming from a certain website, no?
    – Grimoire
    Nov 13, 2016 at 14:56
  • 1
    @DeathMaskSalesman True... I was just narrowing in on the DNS thing, still requires root either way.
    – acejavelin
    Nov 13, 2016 at 15:31
  • @DeathMaskSalesman yeah, doing it at the IP address basis is extremely brittle
    – badp
    Nov 13, 2016 at 20:27


You must log in to answer this question.

Browse other questions tagged .