This issue has been identified and will be fixed in the next release.
viewtopic.php?t=211157#p1099032
And:
SUP-165334 [7.16rc4] Unexpected dns (resolve) behavior
:resolve <name> server=<server> should bypass cache and send the query directly to server. Instead, version 7.16rc returns the value from cache.
A direct result of this is that The Dude will unexpectedly detect dns services on all hosts connected to the affected (7.16rc4) agent.
The issue has been reproduced, we look forward to fixing it on upcoming RouterOS versions.