Need VPN Client with DDNS Script

Hi everyone, :smiley:
I use routerboard 750GL, I use it for vpn pptp client to my vpn server.
VPN Server use adsl and DDNS xxx.changeip.com.

When adsl link on vpn server down DDNS has change IP address, 750GL cannot vpn to server.
I must to set it again. I find many scripts to set vpn client, in connect to

But still failed, Anyone has scripts for this? :confused:

RB 750GL is use V5.4

Thank you

:local iptunel [:resolve YourDomain.changeip.com];
interface pptp-client set numbers=pptp-out1 connect-to=$iptunel

change yourdomain name for you vpn server
and pptp-out1

I actually did a post on this yesterday.

http://www.cbrown.co/2012/04/08/update-pptp-via-dns/

Thank you for all help.
I see the problem is my RB can’t find domain name.
If I change DNS server, by use peer dns, it can use all script. :slight_smile: