DNS question - container or separate PC?

Just wanted to say hi to everybody. I am a complete newbie when it comes to Mikrotik, and I am coming from Draytek environment. I run a small homelab plus my business and will need two routers. So far I purchased 5009Upr and a couple of used hap ac lite to do some testing/labbing. Will be purchasing another 5009 plus some AP.

A few months ago, I was tinkering with Adguard, pi-hole and Technitium. I run them on a mini PC. I liked the idea of runing DNS server.

Now comes the question - would you run DNS server in container on RouterOS or would you rather keep it on a separate machine?

I still have not made my mind and before I splash more money on 5009 I would like to make some decision, as maybe I would be fine with 5009 plus hap ax3 and two mini pcs for Technitium, or maybe I will be better of with 2x5009s and Technitium run in container… I have some spare PCs with i3 7300.

I would apreciate your input and thought here.

DNS is handled by my router (RB5009), it is also running Adlist:

I used to run 2 instances of AdGuard (and before that I used PiHole). In my opinion, my router should not be running containers.

I run Pi-hole in a container on my MikroTik router. So that I can restart my server when needed, without losing my internet connexion. And if I restart the router, I lose my connexion anyway…

EDIT: I also run Unbound on the router.

I’ve tried various DNS iterations over the last few years with Mikrotik. I guess it depends if you want to use DoH as the back-end, if so Pi-hole lacks a built in option, Mikrotik with add lists only supports HTTP/1 so no quad9, Technitium is maybe a better choice seeing as you can run that from your 5009 direct with little fuss as it’s in the APP/Container section ie 1 click plus config. For your use case a Raspberry pi will do, I see not much in it when testing between Mikrotik to 1.1.1.1 DoH vs say for example Technitium in a CHR on a pi using Qemu. 1ms or so.

dnseval -c 10 -t A -f servers.txt bbc.co.uk                                                                                        
Warming up DNS caches...
server          avg(ms)  min(ms)  max(ms)  stddev(ms)  lost(%)  ttl      flags                      response
------------------------------------------------------------------------------------------------------------
192.168.0.254   2.81     2.06     4.31     0.71        %0       298      QR -- -- RD RA -- -- --     NOERROR
192.168.0.5     3.59     3.02     4.85     0.65        %0       106      QR -- -- RD RA -- -- --     NOERROR

ps that was a WiFi device!