dns names in address field

Hello,

Is there any way I can make a DNS name stay in the address field of a PPTP interface. It’s quite annoying to have to go and re type in the DNS name for it to resolve back to the new IP address. I’m currently running the newest version of the router os 3.

Dan.

You can write a script that resolves DNS name, then compare it to IP set on PPTP, if it’s not the same set it to new one.

Do you know of any scripts? Or has anyone else done this?

try these posts for more info:

http://forum.mikrotik.com/t/introducing-myself-and-a-dns-question/17485/4
and
http://forum.mikrotik.com/t/script-error/816/1

Thanks for all of your help. I actually found a simple way to accomplish what I needed.

Using netwatch I monitor a private ip on the remote side of the l2tp link and then I use this command in down tab:

/interface l2tp-client set X connect-to=[:resolve you.no-ip.com]

It will run this command with the interval you set until the dns from my isp has been updated.