logo

Is there a way to track and block specific domains or IP addresses on Android?


Blocking certain domains or IP addresses can prevent access to malicious or privacy-invasive sites. Android lacks an easy way to block specific IPs or domains. Also many third-party firewall apps are not that much configurable. So we need to explore other options.

Fyrypt is basically an iptables-based firewall. While it makes it very simple to block and unblock apps, it also gives you the flexibility to define custom rules - global or per app. Android apps have unique UIDs. Combining this with the wonderful Linux iptables firewall, we can define rules according to our needs. See more details here.

As far as blocking specific domains is concerned, we need to take control of DNS queries. Not familiar with that? Don't worry. Fyrypt is here to simplify it for you. It runs a local DoH server on your device using dnscrypt-proxy which encrypts all DNS queries. You can easily configure dnscrypt-proxy to block specific domains. See How do I block certain websites or domains from loading on Android?.

In addition to that, Fyrypt shows you all the IP addresses (allowed and blocked) and domains (allowed and blocked) apps are connecting to.

Fyrypt DNS events monitor

Also see How do I monitor which apps are connecting to the internet on my Android device?.

So this way Fyrypt enables you to track and block domains or IPs, preventing apps from accessing unwanted or harmful websites and securing your device.


Related:

Comments