OPNsense Forum

English Forums => 25.7, 25.10 Series => Topic started by: franciz on September 29, 2025, 07:56:14 PM

Title: ddclient doesn't support multi-wan ip update
Post by: franciz on September 29, 2025, 07:56:14 PM
I have been trying to get a domain ddns working in a dual wan enviroment using failover.
I followed option B of this message:
https://forum.opnsense.org/index.php?topic=34139.msg165202#msg165202

But it doesn't work for me, I want to update the same domain on both interfaces.
But when WAN1 goes down, I always get the error "no global IP address detected, check config if warning persists". It would seem that it doesn't recognize interface WAN2 as being the active one now.

What can I check/test/config?

PS: Forgot to say, WAN2 is pppoe. Can it be the problem since the IP is not in the interface but in the conection?
(stupid comment since it is not reading interface IP but curling it out)

PS2: If I DISABLE WAN1 gateway, the curl command works and ddclient works too.
If I DISCONNECT the cable on WAN1 for testing purposes, the GW1 goes down but the curl command does not work (neither does ddclient obviously)
Ideas? missing firewall rule?
Title: Re: ddclient doesn't support multi-wan ip update
Post by: franciz on October 06, 2025, 07:47:57 PM
I created a rule for the specific check domains. When I have WAN1 connected, both checks (for my 2 personal domains) are going through that rule and I can see them in the logs.
When WAN1 is disconnected (NOT disabled) and gets marked as down, checks are not going through that rule...
Seems to be trying to use some other hidden rule maybe?