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

    Dyndns not updating

    Scheduled Pinned Locked Moved General pfSense Questions
    8 Posts 4 Posters 7.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.
    • J
      jaredadams
      last edited by

      This shows up in the logs:

      Mar 1 14:45:28 php: /services_dyndns_edit.php: DynDns: updatedns() starting
      Mar 1 14:45:28 php: /services_dyndns_edit.php: DynDns debug information: <myip>extracted from local system.
      Mar 1 14:45:28 php: /services_dyndns_edit.php: DynDns: Current WAN IP: <myip>Cached IP: 0.0.0.0
      Mar 1 14:45:28 php: /services_dyndns_edit.php: DynDns debug information: DynDns: cacheIP != wan_ip. Updating. Cached IP: 0.0.0.0 WAN IP: <myip>Mar 1 14:45:28 php: /services_dyndns_edit.php: DynDns: DynDns _update() starting.
      Mar 1 14:45:28 php: /services_dyndns_edit.php: DynDns: DynDns _checkStatus() starting.
      Mar 1 14:45:28 php: /services_dyndns_edit.php: DynDns: Current Service: dyndns-custom
      Mar 1 14:45:28 php: /services_dyndns_edit.php: phpDynDNS: PAYLOAD: nohost
      Mar 1 14:45:28 php: /services_dyndns_edit.php: phpDynDNS: (Unknown Response)

      Any clues???</myip></myip></myip>

      1 Reply Last reply Reply Quote 0
      • Cry HavokC
        Cry Havok
        last edited by

        You've checked that the hostname is still in your account?

        1 Reply Last reply Reply Quote 0
        • J
          jaredadams
          last edited by

          They deleted it WTF!  I've had that hostname for years.

          1 Reply Last reply Reply Quote 0
          • Cry HavokC
            Cry Havok
            last edited by

            They remove free hostnames if you don't update them at least every 30 days - you'll have received a warning email from them (though it may have gone to your spam folder) 5 days in advance. If you updated it in the last 30 days - and have the log entries to show this - follow it up on their forums.

            1 Reply Last reply Reply Quote 0
            • J
              jaredadams
              last edited by

              My IP hasnt changed in some time, even though its supposed to be a dynamic ip.  Only time it changes is during long power outages.  If pfsense does not detect an IP change on the renewal of the DHCP lease does it update the host?

              1 Reply Last reply Reply Quote 0
              • J
                jaredadams
                last edited by

                bump

                1 Reply Last reply Reply Quote 0
                • W
                  wallabybob
                  last edited by

                  @jaredadams:

                  If pfsense does not detect an IP change on the renewal of the DHCP lease does it update the host?

                  I'm not sure if this answers your question: If I recall correctly pfSense will update a dynamic DNS registration on 25 days since last registration.

                  1 Reply Last reply Reply Quote 0
                  • GertjanG
                    Gertjan
                    last edited by

                    @wallabybob:

                    I'm not sure if this answers your question: If I recall correctly pfSense will update a dynamic DNS registration on 25 days since last registration.

                    I confirm.
                    /etc/inc/dyndns.class - lines 811-875 - function _detectChange() will return 'true' if

                    • A new IP WAN is found
                    • 25 days passed without IP WAN change
                    • The IP WAN update is being called for the first time …

                    What I didn't discover is where and how often dyndns.class is being called to do the checking.
                    But: I have proof that the checking is done at least ones a day: I found it in my (and your) system log file:

                    
                    ..
                    Mar 8 01:01:00 	php: : phpDynDNS: No change in my IP address and/or 25 days has not passed. Not updating dynamic DNS entry.
                    ..
                    Mar 7 12:00:00 	php: : phpDynDNS: No change in my IP address and/or 25 days has not passed. Not updating dynamic DNS entry.
                    ..
                    

                    The update from 12 AM was triggered after a WAN IP change - the one at 01:01 was triggered by (some kind of daily check).

                    Conclusion: the forced update after 25 days when your IP doesn't change should work.

                    edit:
                    Stupid me.
                    /etc/crontab

                    ..
                    1	1	*	*	*	root	/usr/bin/nice -n20 /etc/rc.dyndns.update
                    ..
                    

                    So, every 01:01 the WAN IP is checked …

                    No "help me" PM's please. Use the forum, the community will thank you.
                    Edit : and where are the logs ??

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