[SOLVED]Dynamic DNS on multiWAN

Started by svenny, August 24, 2021, 04:48:18 PM

Previous topic - Next topic
August 24, 2021, 04:48:18 PM Last Edit: September 20, 2021, 12:14:21 AM by svenny
Hi all, I'm trying to set Dynamic DNS (FreeDNS service) with a multiWAN (2 gateways) installation but I always receive the IP of the default gateway as an answer to DNS queries. For Dynamic DNS configuration I've choosen the right "Interface to monitor" for each interface.

I read the following post where the problem had already been highlighted in the past:

https://forum.opnsense.org/index.php?topic=5692.0

I tested some command on the shell with curl which return the same IP address:


root@OPNsense:~ # curl --interface pppoe0 ifconfig.me
1.2.3.4
root@OPNsense:~ # curl --interface re1 ifconfig.me
1.2.3.4


Is there a way to resolve this issue?

Many thanks in advance.

Cheers,
Svenny

I've found the solution: in Interface -> My_Interface -> IPv4 Upstream Gateway option I have to choose the right gateway and not "Auto-detect". Now Dynamic DNS works for the second gateway too!

Cheers,
Svenny