Ip address lookups.

Hi,

I would like to connect 2 sites via a PPTP tunnel, however, both sites have a dynamic DNS. I have set the PPTP server up, and a windows machine on the network changes a dynamic dns server. On the remote side, after the link goes down, the router must re-dial the server on a FQDN, and not on a fixed IP address. Is there a tool or a script that can look up a new IP address? eg) nslookup or the likes, so the output can be given to another script which will then change the IP address of the server?

Please help if you can,

MacDeath

it will be something like this:

add schedule rule with script like this

/interface pptp-client set pptp-out1 connect-to=[:resolve host.name.com]

[/code]

Thanks very much, works like a charm.

I couldn’t, and still cant find any reference to :resolve in the docs. Is there another reference guide that I have not found?

I think that this is new in 2.8.17… Found it incidently :slight_smile:

I’m using 2.8.10 still, and it is working. :smiley: