Adblock in Alien Dalvik (Xperia XA2)

To the best of my knowledge using the SFOS App Defender or modiying the systems /etc/hosts file does not allow blocking domain resolution for Android apps.
I believe that it is required to change the /etc/hosts file within the LXC container, right?
Is there an efficient way of doing this?


Solution found here:

I copy the answer just in case the old forum is shut down:

Simply edit the file /var/lib/lxc/aliendalvik/extra_config as root and add following line:

lxc.mount.entry = /etc/hosts system/etc/hosts none bind,create=file 0 0

The will make LXC use the SFOS hosts file which turn can be filled with host names to be blocked by defender.