This guide uses functionalities that are not yet included in v5 BETA.
Sometimes it can be helpful to create ones own Host list. For example if the manually blocked hosts are more than what you want to transfer manually after a reinstall or a switch to a new phone.
(Note: if you are on v5 you can enable a Google Drive synchronization for your settings)
But how does one start a list like this?
Step 1: Selecting domains
start blocking domains manually (for example from the host log) and verify that those domains are really the ones you want to block and are not resulting in problems with specific functionalities. So test these domains for a few weeks before starting your file.
My recommendations for the beginning (click for more details)Step 2: Creating the file
Tip: For me it’s the most comfortable to do all following steps on my PC.
Copy the domains (for example from the Host log). Paste them into a .txt-file one domain below the other. You do not need to include 0.0.0.0 in front of the domains (which other host files do) as Blokada doesn’t rely on rerouting domains.
Example:
ad.server.com tracking.domain.com # after a hashtag you can add a comment bad.host3.com
Step 3: Adding it in Blokada
One possibility is to store this file on your phone in Download/Blokada/filters. Then tap in Blokada Ad blocking / Host lists on add new Host list. There select ‘file’ and add the .txt-file.
The other possibility is to host the file via Github or Gitlab for example. There it needs to be accessible without a log-in. Then add the link to your file in Blokada’s Host lists menu. Be sure to use the link which only contains the file (so the link which ends with .txt)
Step 4: Maintaining your list
Update your lists with the most current domains. As I am lazy I love to use Gitlab. This way changes in my host file are getting applied in Blokada as soon as the lists are downloaded again.
Be sure to share your tips and tricks for creating and maintaining lists with us in the comments:)
5 posts - 2 participants