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

[Solved] Dynamic DNS not updating

Scheduled Pinned Locked Moved DHCP and DNS
5 Posts 2 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.
  • M
    manjotsc
    last edited by manjotsc Nov 18, 2019, 11:15 PM Nov 17, 2019, 9:58 AM

    Dynamic does not update automatically, unless forced. I even cron job to be 5 mins, and also the cached IP always stays the same, regardless updated or not.

    Nov 17 04:55:05 php-cgi rc.dyndns.update: phpDynDNS (access.ma****.): No change in my IP address and/or 25 days has not passed. Not updating dynamic DNS entry.
    Nov 17 04:55:05 php-cgi rc.dyndns.update: Dynamic Dns (access.ma
    *.): Current WAN IP: ...109 Cached IP: ...109
    Nov 17 04:55:05 php-cgi rc.dyndns.update: Dynamic DNS namecheap (access.ma
    *.): ...109 extracted from local system.
    Nov 17 04:55:05 php-cgi rc.dyndns.update: Dynamic DNS (access.ma****.): running get_failover_interface for wan. found igb0
    Nov 17 04:55:05 php-cgi rc.dyndns.update: Dynamic DNS namecheap (access.ma
    *.): ...109 extracted from local system.
    Nov 17 04:55:05 php-cgi rc.dyndns.update: Dynamic DNS: updatedns() starting
    Nov 17 04:55:03 php-cgi rc.dyndns.update: phpDynDNS (patch.ma****.): No change in my IP address and/or 25 days has not passed. Not updating dynamic DNS entry.
    Nov 17 04:55:03 php-cgi rc.dyndns.update: Dynamic Dns (patch.ma
    *.): Current WAN IP: ...109 Cached IP: ...109
    Nov 17 04:55:03 php-cgi rc.dyndns.update: Dynamic DNS namecheap (patch.ma
    *.): ...109 extracted from local system.
    Nov 17 04:55:03 php-cgi rc.dyndns.update: Dynamic DNS (patch.ma****.): running get_failover_interface for wan. found igb0
    Nov 17 04:55:03 php-cgi rc.dyndns.update: Dynamic DNS namecheap (patch.ma
    *.): ...109 extracted from local system.
    Nov 17 04:55:03 php-cgi rc.dyndns.update: Dynamic DNS: updatedns() starting
    Nov 17 04:55:02 php-cgi rc.dyndns.update: phpDynDNS (pfsense.ma****.): No change in my IP address and/or 25 days has not passed. Not updating dynamic DNS entry.
    Nov 17 04:55:02 php-cgi rc.dyndns.update: Dynamic Dns (pfsense.ma
    *.): Current WAN IP: ...109 Cached IP: ...109
    Nov 17 04:55:02 php-cgi rc.dyndns.update: Dynamic DNS namecheap (pfsense.ma
    *.): ...109 extracted from local system.
    Nov 17 04:55:02 php-cgi rc.dyndns.update: Dynamic DNS (pfsense.ma****.): running get_failover_interface for wan. found igb0
    Nov 17 04:55:02 php-cgi rc.dyndns.update: Dynamic DNS namecheap (pfsense.ma
    *.): ...109 extracted from local system.
    Nov 17 04:55:02 php-cgi rc.dyndns.update: Dynamic DNS: updatedns() starting
    Nov 17 04:55:01 php-cgi rc.dyndns.update: phpDynDNS (local.ma****.): No change in my IP address and/or 25 days has not passed. Not updating dynamic DNS entry.
    Nov 17 04:55:01 php-cgi rc.dyndns.update: Dynamic Dns (local.ma
    *.): Current WAN IP: ...109 Cached IP: ...109
    Nov 17 04:55:01 php-cgi rc.dyndns.update: Dynamic DNS namecheap (local.ma
    *.): ...109 extracted from local system.
    Nov 17 04:55:01 php-cgi rc.dyndns.update: Dynamic DNS (local.ma****.): running get_failover_interface for wan. found igb0
    Nov 17 04:55:01 php-cgi rc.dyndns.update: Dynamic DNS namecheap (local.ma
    *.): ...109 extracted from local system.
    Nov 17 04:55:01 php-cgi rc.dyndns.update: Dynamic DNS: updatedns() starting
    Nov 17 04:55:00 php-cgi rc.dyndns.update: phpDynDNS (.mynetgear.com): No change in my IP address and/or 25 days has not passed. Not updating dynamic DNS entry.
    Nov 17 04:50:51 php-fpm 67778 /index.php: Successful login for user 'setup' from: 192.168.40.11 (RADIUS/ACTIVE-DIR)
    Nov 17 04:50:05 php-cgi rc.dyndns.update: phpDynDNS (access.ma****.
    ): No change in my IP address and/or 25 days has not passed. Not updating dynamic DNS entry.
    Nov 17 04:50:05 php-cgi rc.dyndns.update: Dynamic Dns (access.ma****.
    ): Current WAN IP: ...109 Cached IP: ...109
    Nov 17 04:50:05 php-cgi rc.dyndns.update: Dynamic DNS namecheap (access.ma
    ***.): ...109 extracted from local system.
    Nov 17 04:50:05 php-cgi rc.dyndns.update: Dynamic DNS (access.ma****.): running get_failover_interface for wan. found igb0
    Nov 17 04:50:05 php-cgi rc.dyndns.update: Dynamic DNS namecheap (access.ma
    *.): ...109 extracted from local system.
    Nov 17 04:50:05 php-cgi rc.dyndns.update: Dynamic DNS: updatedns() starting
    Nov 17 04:50:03 php-cgi rc.dyndns.update: phpDynDNS (patch.ma****.): No change in my IP address and/or 25 days has not passed. Not updating dynamic DNS entry.
    Nov 17 04:50:03 php-cgi rc.dyndns.update: Dynamic Dns (patch.ma
    *.): Current WAN IP: ...109 Cached IP: ...109
    Nov 17 04:50:03 php-cgi rc.dyndns.update: Dynamic DNS namecheap (patch.ma
    *.): ...109 extracted from local system.
    Nov 17 04:50:03 php-cgi rc.dyndns.update: Dynamic DNS (patch.ma****.): running get_failover_interface for wan. found igb0
    Nov 17 04:50:03 php-cgi rc.dyndns.update: Dynamic DNS namecheap (patch.ma
    *.): ...109 extracted from local system.
    Nov 17 04:50:03 php-cgi rc.dyndns.update: Dynamic DNS: updatedns() starting
    Nov 17 04:50:02 php-cgi rc.dyndns.update: phpDynDNS (pfsense.ma****.): No change in my IP address and/or 25 days has not passed. Not updating dynamic DNS entry.
    Nov 17 04:50:02 php-cgi rc.dyndns.update: Dynamic Dns (pfsense.ma
    *.): Current WAN IP: ...109 Cached IP: ...109
    Nov 17 04:50:02 php-cgi rc.dyndns.update: Dynamic DNS namecheap (pfsense.ma
    *.): ...109 extracted from local system.
    Nov 17 04:50:02 php-cgi rc.dyndns.update: Dynamic DNS (pfsense.ma****.): running get_failover_interface for wan. found igb0
    Nov 17 04:50:02 php-cgi rc.dyndns.update: Dynamic DNS namecheap (pfsense.ma
    *.): ...109 extracted from local system.
    Nov 17 04:50:02 php-cgi rc.dyndns.update: Dynamic DNS: updatedns() starting
    Nov 17 04:50:01 php-cgi rc.dyndns.update: phpDynDNS (local.ma****.): No change in my IP address and/or 25 days has not passed. Not updating dynamic DNS entry.
    Nov 17 04:50:01 php-cgi rc.dyndns.update: Dynamic Dns (local.ma
    *.): Current WAN IP: ...109 Cached IP: ...109
    Nov 17 04:50:01 php-cgi rc.dyndns.update: Dynamic DNS namecheap (local.ma
    *.): ...109 extracted from local system.
    Nov 17 04:50:01 php-cgi rc.dyndns.update: Dynamic DNS (local.ma****.): running get_failover_interface for wan. found igb0
    Nov 17 04:50:01 php-cgi rc.dyndns.update: Dynamic DNS namecheap (local.ma
    *.): ...109 extracted from local system.
    Nov 17 04:50:01 php-cgi rc.dyndns.update: Dynamic DNS: updatedns() starting
    Nov 17 04:50:00 php-cgi rc.dyndns.update: phpDynDNS (.mynetgear.com): No change in my IP address and/or 25 days has not passed. Not updating dynamic DNS entry.
    Nov 17 04:45:05 php-cgi rc.dyndns.update: phpDynDNS (access.ma****.
    ): No change in my IP address and/or 25 days has not passed. Not updating dynamic DNS entry.
    Nov 17 04:45:05 php-cgi rc.dyndns.update: Dynamic Dns (access.ma****.
    ): Current WAN IP: ...109 Cached IP: ...109
    Nov 17 04:45:05 php-cgi rc.dyndns.update: Dynamic DNS namecheap (access.ma
    ***.): ...109 extracted from local system.
    Nov 17 04:45:05 php-cgi rc.dyndns.update: Dynamic DNS (access.ma****.): running get_failover_interface for wan. found igb0
    Nov 17 04:45:05 php-cgi rc.dyndns.update: Dynamic DNS namecheap (access.ma
    *.): ...109 extracted from local system.
    Nov 17 04:45:05 php-cgi rc.dyndns.update: Dynamic DNS: updatedns() starting
    Nov 17 04:45:03 php-cgi rc.dyndns.update: phpDynDNS (patch.ma****.***): No change in my IP address and/or 25 days has not passed. Not updating dynamic DNS entry.

    Annotation 2019-11-17 045511.png

    Vendor: HP
    Version: P01 Ver. 02.50
    Release Date: Wed Jul 17 2024
    Boot Method: UEFI
    24.11-RELEASE (amd64)
    FreeBSD 15.0-CURRENT
    CPU Type: Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz
    Current: 3606 MHz, Max: 3400 MHz
    4 CPUs : 1 package(s) x 4 core(s)

    1 Reply Last reply Reply Quote 0
    • G
      Gertjan
      last edited by Gertjan Nov 18, 2019, 7:53 AM Nov 18, 2019, 7:47 AM

      @manjotsc said in Dynamic DNS not updating:

      Nov 17 04:55:05 php-cgi rc.dyndns.update: Dynamic DNS: updatedns() starting
      Nov 17 04:55:05 php-cgi rc.dyndns.update: Dynamic Dns (access.ma*.): Current WAN IP: ...109 Cached IP: ...109
      Nov 17 04:55:05 php-cgi rc.dyndns.update: Dynamic DNS namecheap (access.ma.
      ): ...109 extracted from local system.
      Nov 17 04:55:05 php-cgi rc.dyndns.update: Dynamic DNS (access.ma.): running get_failover_interface for wan. found igb0
      Nov 17 04:55:05 php-cgi rc.dyndns.update: Dynamic DNS namecheap (access.ma.): ...109 extracted from local system.
      Nov 17 04:55:05 php-cgi rc.dyndns.update: phpDynDNS (access.ma
      ***.): No change in my IP address and/or 25 days has not passed. Not updating dynamic DNS entry.

      Your log shows over and over again that the current WAN IP ...109 corresponds with the cached IP ....109.

      This :

      4518d4db-4c8b-45ae-b0a3-efaaa5c81533-image.png

      is used to check your actual WAN IP.

      It's an URL - use it in your browser and check your IP "WAN".
      Is it showing

      Current IP Address: .......109
      

      ?

      If so, there is no need to update.

      Btw : if "namecheap" contains another IP, then you should check if the update itself actually works.
      Authentification errors ? Other errors ?

      This might be very useful :

      6b41ac3a-898a-41cd-856a-5f65614d2dbf-image.png

      edit : be careful with forced updates.
      Most - if not all - DYNDNS services don't like repeated updates like serveral per minute / houre or even days. They will refuse subsequent updates. Some error message will come back - normally indicating that this happened.
      In that case, update manually, using their GUI. Try to debug the situation next day or so.

      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
      • M
        manjotsc
        last edited by manjotsc Nov 18, 2019, 8:03 AM Nov 18, 2019, 7:56 AM

        Maybe I wasn't clear, If I go to namecheap and change manually DNS entry for that hostname, to different than my actually ip, It doesn't update automatically and in logs it shows like the ip is same as mine WAN ip, it seems pfsense is not detecting the change of ip.

        Vendor: HP
        Version: P01 Ver. 02.50
        Release Date: Wed Jul 17 2024
        Boot Method: UEFI
        24.11-RELEASE (amd64)
        FreeBSD 15.0-CURRENT
        CPU Type: Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz
        Current: 3606 MHz, Max: 3400 MHz
        4 CPUs : 1 package(s) x 4 core(s)

        G 1 Reply Last reply Nov 18, 2019, 8:21 AM Reply Quote 0
        • G
          Gertjan @manjotsc
          last edited by Gertjan Nov 18, 2019, 9:26 AM Nov 18, 2019, 8:21 AM

          @manjotsc said in Dynamic DNS not updating:

          it seems pfsense is not detecting the change of ip.

          What you can't see in the logs, is that pfSense doesn't check against the DNS name servers of namecheap.
          pfSense can't do that, think about DNS caching etc.

          It works like this :
          If the cached file contains the IP that is also present as the WAN IP, then there is nothing to do.
          If the IP in the file is not the same as the WAN IP, then it updates the IP at namecheap. Logs lines will indicate that this happened and what the result was.
          When the result is "Ok" then - and only then, the cache file is updated with the new WAN IP.

          Note : Again, this procedure never checks agains the DYNDNS host what the stored IP is. There is no need to do so. And you actually can not make it work like that : the DYNDNS host would explode by the billions of "IP check calls" from the billions of clients .....

          This process repeats itself regularly - and is also started when the WAN interface goes DOW/UP - or some DHCP client interface event.

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

          M 1 Reply Last reply Nov 18, 2019, 11:52 AM Reply Quote 1
          • M
            manjotsc @Gertjan
            last edited by Nov 18, 2019, 11:52 AM

            @Gertjan Got it,

            Thanks

            Vendor: HP
            Version: P01 Ver. 02.50
            Release Date: Wed Jul 17 2024
            Boot Method: UEFI
            24.11-RELEASE (amd64)
            FreeBSD 15.0-CURRENT
            CPU Type: Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz
            Current: 3606 MHz, Max: 3400 MHz
            4 CPUs : 1 package(s) x 4 core(s)

            1 Reply Last reply Reply Quote 0
            • S SteveITS referenced this topic on Jul 11, 2023, 8:56 PM
            • W w0w referenced this topic on Jul 12, 2023, 3:08 AM
            5 out of 5
            • First post
              5/5
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
              This community forum collects and processes your personal information.
              consent.not_received