OPNsense Forum

Archive => 21.7 Legacy Series => Topic started by: svenny on August 24, 2021, 04:48:18 pm

Title: [SOLVED]Dynamic DNS on multiWAN
Post by: svenny on August 24, 2021, 04:48:18 pm
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 (https://forum.opnsense.org/index.php?topic=5692.0)

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

Code: [Select]
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
Title: Re: Dynamic DNS on multiWAN
Post by: svenny on September 20, 2021, 12:13:49 am
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