Cool, but i don't understand the disclaimer:You could have a look at my script Notify on host up and down. It allows update from dns, and a lot more.
[admin@MikroTik] > :put [ :resolve dns.google ]
8.8.8.8
[admin@MikroTik] > :put [ :resolve dns.google ]
8.8.4.4