Can I get the type of dns cache in scripts?

The :resolve function has some bug.But I find if it resolve the A type,it’s ok.So I want to resolve A type only.So how can I comfirm the name is A type?

ps: I use the ros 3.2. Is the resovle bug fixed in some ver.?

What bug exactly you are talking about? Can you provide an example where resolve fails?

http://forum.mikrotik.com/t/has-resolve-failure-been-fixed-yet/29663/1 , This topic say the bug. I use [/ip dns cache get $i address]; to get ips,now it’s ok。thanks.