I continued the idea by expanding an existing script which is here :
http://forum.mikrotik.com/t/yet-another-dhcp-to-dns-script/107005/1
I continued the idea by expanding an existing script which is here :
http://forum.mikrotik.com/t/yet-another-dhcp-to-dns-script/107005/1