Mikrotik-Duckdns-Dynamic-IP-Updater icon indicating copy to clipboard operation
Mikrotik-Duckdns-Dynamic-IP-Updater copied to clipboard

Support multiple interfaces

Open r3d1r opened this issue 2 years ago • 4 comments

Hi. Is it possible to support multiple interfaces ? In other words, in location with multiple internet connections, select which interface will be used to get the IP ? Thanks in advance.

r3d1r avatar Sep 01 '22 11:09 r3d1r

Could you please provide an example of the behavior using mikrotik cli ?

beeyev avatar Sep 01 '22 11:09 beeyev

Hey. I'm not exactly a mikrotik guy. I only configure mine once in a while, when needed. Could you please instruct how I can generate the sample?

r3d1r avatar Sep 01 '22 11:09 r3d1r

Is it possible to force this command to run over an specific interface ? ([/tool_ fetch url=$ipDetectService1 output=user as-value]->"data")' Or this ? :put [/ip cloud get public-address] Or this ? :return [:resolve myip.opendns.com server=208.67.222.222]

r3d1r avatar Sep 01 '22 12:09 r3d1r

You can just modify the script as you need, and use it the way you like.

beeyev avatar Sep 02 '22 09:09 beeyev