VPN Client connecting to dynamic IP server

Hello!

I got PPTP server running on my home RB750 and also I got RB750 at work with PPTP client.

My home address is lets say home.dynamic.com
and wheneven I type at work in address “home.dynamic.com” he resolves that to IP and sucessfully connect.

But when my router (home) changes IP, Mikrotik from work cant connect anymore, untill I type
home.dynamic.com in IP again.

Any solutions? Maybe something with scripts?

Thanks