I will spend a few minutes to help you with a script for this …
:if ([:resolve pip.changeip.com] != [ /int pptp-client get [/int pptp-client find name=pptp-dyn] connect-to ]) do={
/int pptp-client set [/int pptp-client find name=pptp-dyn] connect-to=[:resolve pip.changeip.com] }
Try this… it resolves DNS and if different than what’s in connect-to it will update it, otherwise nothing happens. Be aware though that if DNS is wrong or unresolvable it might hose things. It might be adviseable to check more parameters first.
Sam