Project

General

Profile

Actions

Bug #5180

closed

DDNS sometimes not updating after primary WAN failure

Added by ben selinger about 9 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority:
High
Category:
Dynamic DNS
Target version:
Start date:
09/21/2015
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
All
Affected Architecture:

Description

Since update 2.2.2, DDNS (noip) is not updating the secondary WAN address after the primary WAN fails.
WAN1 and WAN2 are grouped in Balance0. DDNS is configured to monitor Balance0. This configuration was working before the most recent update.

Currently, when WAN1 fails, the gateway failover occurs correctly and all routing continues as normal on WAN2. DDNS detects this failure and updates NoIP.com, but updates with the IP of WAN1.
Hitting force update does not result in the WAN2 IP being sent. If I manually log into NoIP and set the WAN2 address through their interface, everything works correctly.
When WAN1 comes back up and becomes primary again, I see that DDNS does correctly update with the WAN1 IP.

Here's what I'm seeing in the log: (replaced WAN1 IP with 9.9.9.9 for security)

Sep 21 14:09:38 php-fpm[21361]: /services_dyndns_edit.php: Gateways status could not be determined, considering all as up/active. (Group: balance0)
Sep 21 14:00:56 php-fpm[82788]: /rc.dyndns.update: phpDynDNS (cranesmartvoip.ddns.net): No change in my IP address and/or 25 days has not passed. Not updating dynamic DNS entry.
Sep 21 14:00:56 php-fpm: /services_dyndns_edit.php: phpDynDNS (cranesmartvoip.ddns.net): (Success) DNS hostname update successful.
Sep 21 14:00:56 php-fpm: /services_dyndns_edit.php: phpDynDNS (cranesmartvoip.ddns.net): (Success) DNS hostname update successful.
Sep 21 14:00:56 php-fpm: /services_dyndns_edit.php: phpDynDNS: updating cache file /conf/dyndns_balance0noip-free'cranesmartvoip.ddns.net'0.cache: 9.9.9.9
Sep 21 14:00:56 php-fpm: /services_dyndns_edit.php: phpDynDNS: updating cache file /conf/dyndns_balance0noip-free'cranesmartvoip.ddns.net'0.cache: 9.9.9.9
Sep 21 14:00:46 php-fpm: /services_dyndns_edit.php: phpDynDNS (cranesmartvoip.ddns.net): (Success) DNS hostname update successful.
Sep 21 14:00:46 php-fpm: /services_dyndns_edit.php: phpDynDNS (cranesmartvoip.ddns.net): (Success) DNS hostname update successful.
Sep 21 14:00:46 php-fpm: /services_dyndns_edit.php: phpDynDNS: updating cache file /conf/dyndns_balance0noip-free'cranesmartvoip.ddns.net'0.cache: 9.9.9.9
Sep 21 14:00:46 php-fpm: /services_dyndns_edit.php: phpDynDNS: updating cache file /conf/dyndns_balance0noip-free'cranesmartvoip.ddns.net'0.cache: 9.9.9.9
Sep 21 14:00:46 php-fpm: /services_dyndns_edit.php: Message sent to itsupport@cranesmart.com OK
Sep 21 14:00:46 php-fpm: /services_dyndns_edit.php: Message sent to itsupport@cranesmart.com OK
Sep 21 14:00:45 php-fpm: /services_dyndns_edit.php: DynDNS (cranesmartvoip.ddns.net): Processing dummy update on No-IP free account. IP temporarily set to 192.168.1.1
Sep 21 14:00:45 php-fpm: /services_dyndns_edit.php: DynDNS (cranesmartvoip.ddns.net): Processing dummy update on No-IP free account. IP temporarily set to 192.168.1.1
Sep 21 14:00:45 check_reload_status: Syncing firewall
Sep 21 14:00:44 check_reload_status: Reloading filter
Sep 21 14:00:44 check_reload_status: Restarting OpenVPN tunnels/interfaces
Sep 21 14:00:44 check_reload_status: Restarting ipsec tunnels
Sep 21 14:00:44 check_reload_status: updating dyndns GWtg
Sep 21 14:00:16 php-fpm[49456]: /services_dyndns.php: MONITOR: GWtg is down, omitting from routing group balance0

As mentioned, there have been no config changes since before the update to 2.2.2, and ddns WAS working correctly prior to update.

Actions

Also available in: Atom PDF