I noticed that when using D-o-H, which already is used by default in some Android clients and activated with an option in Mozilla Firefox, hosts don't longer get blocked. I can probably assume that it's mechanism is being able to bypass the default 192.168.1.1 gateway/dns of the router and still go and resolve the site.
Problem is, well, the privacy concern.
For instance here, I want to block reddit.com, when DOH is enabled the host stil resolves:
Now, if I use banIP and do a simple ping query for it's ipv4 and 6 addresses and add that to the blacklist, ̶t̶h̶e̶ ̶s̶i̶t̶e̶ ̶w̶i̶l̶l̶ ̶g̶e̶t̶ ̶b̶l̶o̶c̶k̶e̶d̶ ̶a̶g̶a̶i̶n̶.̶ ̶B̶u̶t̶ ̶o̶n̶l̶y̶ ̶i̶f̶ ̶t̶h̶o̶s̶e̶ ̶I̶P̶'̶s̶ ̶r̶e̶m̶a̶i̶n̶ ̶t̶h̶e̶ ̶s̶a̶m̶e̶.̶ ̶W̶h̶i̶c̶h̶ ̶f̶o̶r̶ ̶t̶h̶e̶s̶e̶ ̶l̶a̶r̶g̶e̶ ̶s̶i̶t̶e̶s̶,̶ ̶w̶i̶l̶l̶ ̶n̶o̶t̶ ̶h̶a̶p̶p̶e̶n̶.̶. Nope, still appears! Probably hidden ipv6 domain discoverable only through packet sniffing. Or Mozilla doing a proxy.
Therefore I can not reliably use banIP to block hosts.
What can I do in this case. Is there a way for Adblock to also block over DOH?