DynDNS Update checking wrong gateway



  • Hello,

    pfSense gives me some headache regarding its log-output as it seems it tries to update a gateway that isn't set for DynDNS and isn't even active at all currently.

    This night, fromt 00:00:01 til 00:59:01 it looked like this:

    Jan 23 00:00:01 	php: rc.dyndns.update: phpDynDNS (name.dyndns.org): No change in my IP address and/or 25 days has not passed. Not updating dynamic DNS entry.
    Jan 23 00:01:00 	php: rc.dyndns.update: MONITOR: LTEPGW is down, removing from routing group Privat
    Jan 23 00:01:00 	php: rc.dyndns.update: phpDynDNS (name.dyndns.org): No change in my IP address and/or 25 days has not passed. Not updating dynamic DNS entry.
    Jan 23 00:02:00 	php: rc.dyndns.update: MONITOR: LTEPGW is down, removing from routing group Privat
    ...
    ...
    ...
    Jan 23 00:58:00 	php: rc.dyndns.update: MONITOR: LTEPGW is down, removing from routing group Privat
    Jan 23 00:58:00 	php: rc.dyndns.update: phpDynDNS (name.dyndns.org): No change in my IP address and/or 25 days has not passed. Not updating dynamic DNS entry.
    Jan 23 00:59:01 	php: rc.dyndns.update: MONITOR: LTEPGW is down, removing from routing group Privat
    Jan 23 00:59:01 	php: rc.dyndns.update: phpDynDNS (name.dyndns.org): No chan
    ge in my IP address and/or 25 days has not passed. Not updating dynamic DNS entry.
    
    

    also in the morning it shows me

    Jan 23 08:32:29 	php: /services_dyndns.php: MONITOR: LTEPGW is down, removing from routing group Privat
    Jan 23 08:31:51 	php: /services_dyndns.php: MONITOR: LTEPGW is down, removing from routing group Privat
    Jan 23 08:31:35 	php: /services_dyndns.php: MONITOR: LTEPGW is down, removing from routing group Privat
    

    I am a bit confused. LTEPGW is Opt2 and has never been active yet. DynDNS has only been set to (default) WAN at Dynamic DNS and OpenVPN and updates the correct IPs (PPPoE) just fine.
    Is something wrong or shouldn't I bother?

    I have to failover groups:
    1st [Firma]
    Tier 1 LTEFGW (Opt1 LTE)
    Tier 2 GW_WAN (WAN ADSL)

    2nd [Privat]
    Tier 1 LTEPGW (Opt2 LTE)
    Tier 2 GW_WAN (WAN ADSL)

    so I can see why pfSense is removing LTEPGW from group Privat but not why dyndns update system messes around with it.

    Any ideas, light me up if so.

    Kind regards, André



  • Jan 23 00:58:00 	php: rc.dyndns.update: MONITOR: LTEPGW is down, removing from routing group Privat
    

    Those messages are spat out by /etc/inc/gwlb.inc return_gateway_groups_array() - whenever it is called it looks through all the gateway groups, calculates and returns the lists of gateways in each group that are up. As it does the calculations it logs any gateways that are down, regardless of whether the caller actually cares about the particular gateway or GWG. It could be cleaned up to not spam the logs like that!
    For you, it is just log noise. The dynamic DNS code will still be doing its thing OK.


Log in to reply