Hello,
I have set up at my home network caching DNS container running Bind. It works fine - either set up in mikrotik or manually added to the machines - queries are going there and the container replies in reasonable time - few hundreds ms at most. I have removed "Use peer DNS" option in DHCP client and I have set the first DNS to the one in the local network and 2-3 more from google, openDNS etc.
The actual problem I am noticing is that mikrotik query just fine this server, but after some period - I am not sure exactly how long it stops quering that server at all. The cache database after around 12 hours keep getting smaller and smaller and it is not because the entries are in mikrotik DNS cache - after clearing them still does not query that local DNS. If I log in into webfig and just click apply in the DNS settings without changing anything it will start querying that local IP for another ~12 hours and then will stop again.
I think it is some kind of bug because it works fine all the time if set manually on another devices.
The router is hap ac2 and I am attaching pastebin with some mac addresses and details redacted. Configuration