/ip dns set allow-remote-requests=yes cache-max-ttl=1d servers=94.140.14.14,94.140.15.15use-doh-server=https://dns.adguard.com/dns-query /ip dns static add address=94.140.14.14 name=dns.adguard.com add address=94.140.15.15 name=dns.adguard.com
DNS or DoH, IPv6 - Mikrotik Script
/ip dns set allow-remote-requests=yes cache-max-ttl=1d servers=2a10:50c0::ad1:ff, 2a10:50c0::ad2:ffuse-doh-server=https://dns.adguard.com/dns-query /ip dns static add address=2a10:50c0::ad1:ff name=dns.adguard.com add address=2a10:50c0::ad2:ff name=dns.adguard.com