Project

General

Profile

Bug #9435

Dynamic DNS Update events do not occur after certain failover event cases

Added by Chris Linstruth over 1 year ago. Updated 3 months ago.

Status:
Feedback
Priority:
Normal
Assignee:
Category:
Dynamic DNS
Target version:
Start date:
03/26/2019
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.5.0
Affected Architecture:

Description

This test was done on a lab HA pair behind a NAT router (so check_ip service is needed.)

Failover group FAILOVER
WAN_GW Tier 1 WAN CARP VIP
WAN2_GW Tier 2 WAN2 CARP VIP

Dynamic DNS on HE.NET bound to the FAILOVER group. Works.

Block pings upstream for WAN
Failover event triggers
DynDNS entry shows WAN public address in red

DynDNS update is not triggered

Running this php code updates everything to WAN2 and green

$failover_group_name = 'FAILOVER';

services_dyndns_configure($failover_group_name);
services_dnsupdate_process($failover_group_name);

Dynamic DNS: updatedns() starting
is not logged until the php is run.

The same thing happens on fail back.

Not sure. It could be that all static addresses + multi-wan + dyndns ( + HA?) are rare enough this isn't hit more often.

Associated revisions

Revision b85557f4 (diff)
Added by Viktor Gurov 4 months ago

DynDNS with gateway group restart on failover event. Issue #9435

Revision d6eecfdc (diff)
Added by Viktor Gurov 3 months ago

DynDNS gateway group fix. Issue #9435

History

#1 Updated by Jim Pingle about 1 year ago

See also: #9667, #7731

#3 Updated by Jim Pingle 4 months ago

  • Status changed from New to Pull Request Review
  • Target version set to 2.5.0

#4 Updated by Renato Botelho 4 months ago

  • Status changed from Pull Request Review to Feedback
  • % Done changed from 0 to 100

PR has been merged. Thanks!

#5 Updated by Ronald Schellberg 3 months ago

The PR/Commit is triggering PHP errors on booting, see "PHP Errors after latest update (amd64) built on Thu Jun 11 13:02:15 EDT 2020"

#6 Updated by Viktor Gurov 3 months ago

Ronald Schellberg wrote:

The PR/Commit is triggering PHP errors on booting, see "PHP Errors after latest update (amd64) built on Thu Jun 11 13:02:15 EDT 2020"

Fix:
https://github.com/pfsense/pfsense/pull/4356

#7 Updated by Ronald Schellberg 3 months ago

Thanks. Manually applied the commit and PHP dump is gone on reboot.

#8 Updated by Jim Pingle 3 months ago

  • Status changed from Feedback to Pull Request Review

#9 Updated by Jim Pingle 3 months ago

  • Status changed from Pull Request Review to Feedback

PR merged

Also available in: Atom PDF