Static dns entry not used by linux system

When I run “/ip dns static print” I see that there are entries for my router and switches, but when I try to ping them, I get the error “ping: mikrotikswitch: Temporary failure in name resolution”. I don’t know if it matters, but the static entry is only a single word, e.g. “mikrotikswitch”.
Running “nmcli device show [interfacename]” has only one entry for IP4.DNS, and it’s the router that’s running DNS. If I run “nslookup mikrotikswitch 192.168.0.1” then name resolution works.
Is there something I need to do in order to tell routeros to serve those dns records? It seems to me like this is a problem on the host I’m running ping on but I want to be sure.

The DNS entry must be mikrotikswitch.something e.g mikrotikswitch.local…
Set allow remote requests to yes.
And in your linux machine you must use the Mikrotik’s address as DNS Server…

Thank you. For some reason when I set the records to whatever.local my linux systems wouldn’t resolve them correctly, I used a different TLD per https://tools.ietf.org/html/rfc6762#appendix-G and it’s now working great - thank you!

Great.. Good to know that…