You are 100% correct. So I do not schedule the script.
I do open the link in a web browser: https://www.micu.eu/adblock/adblock.php
Have a look at it, and if there is only one command /ip dns static, then I do run the script.
but for be little paranoid… or considering the real possibility,
the webserver can check user agent,
if it is “Mikrotik/6.x&Fetch” can provide different contents than
if it is, for example, “Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0”…
PiHole is not a business, it is an open source free project. There are already many variants, most of them use dnsmasq in one way or the other, like diversion.ch and adguard.
PiHole community could not care less if mikrotik would have its own similar system.
Where you get DNS to your hosted webserver (on your lan), does not mater. If its DNS or DoH as long as its the public name for your server.
DoH in your browser will however bypass both your local DNS or local DoH server settings.
Your fears are unfounded.. Pi-Hole only answers the DNS queries (they are tiny chunks of data), all your internet traffic doesn’t go through the Pi board when using Pi-Hole.. You can also install Pi-Hole on a normal VM/PC/server.