Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    DynDNS Update checking wrong gateway

    Scheduled Pinned Locked Moved DHCP and DNS
    2 Posts 2 Posters 1.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      Melphiz
      last edited by

      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é

      1 Reply Last reply Reply Quote 0
      • P Offline
        phil.davis
        last edited by

        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.

        As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
        If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.