Since the recent update (potentially v7.17 with DNS refactoring), I have encountered an issue where some of the recently resolved AAAA records no longer appear in the DNS cache. Although certain AAAA records are still visible in the cache, manually resolving an IPv6-enabled hostname does not result in the record being cached. I have verified that this does not seem to be related to TTL.
From a Windows client:
PS C:\Users\ruse> Resolve-DnsName -Name medium.com -Type AAAA -server 192.168.88.1
Name Type TTL Section IPAddress
---- ---- --- ------- ---------
medium.com AAAA 158 Answer 2606:4700:7::a29f:9904
medium.com AAAA 158 Answer 2606:4700:7::a29f:9804
On RouterOS:
[admin@MikroTik] > :put [/ip dns cache find where (name="medium.com" && type="AAAA")]
*null