Multi-homed DDNS setup

I am trying to set DDNS with two internet connections. I want to either register both connection IPs or allow system to changeover if one fails. I am using mwan3 for failover and it seems to work fine.

The problem with DDNS scripts is that even if I use Bind Network option, it seems as the checks go through the active internet connection. Therefore wrong IP is registered....

If I set interface monitoring. DDNS scripts see that the interface has different IP than the registered DNS IP and try to update it constantly. (I am using dy.fi). Another problem is that if interface goes down, it kills the DDNS process, instead of sending update using the new IP.

Is there any solution?

Thanks!

Nevermind, it appears curl is able to bind to an IP while wget fails miserably. I set the use_curl option
https://oldwiki.archive.openwrt.org/doc/uci/ddns#version_2x1