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

    Update 2.7.2 to 2.8.0 Dynamic DNS not working with Cloudflare

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    45 Posts 8 Posters 4.4k Views 8 Watching
    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.
    • stephenw10S Offline
      stephenw10 Netgate Administrator
      last edited by

      Do you only have an IPv6 address there?

      I'm using PPPoE over VDSL here and it work fine. There must be something else in play.

      D 1 Reply Last reply Reply Quote 0
      • stephenw10S Offline
        stephenw10 Netgate Administrator
        last edited by

        Is your upstream gateway shown as online?

        In 2.8.0 (and 25.03) dyndns update will fail if the gateway is offline.

        D 1 Reply Last reply Reply Quote 0
        • D Offline
          djstone @stephenw10
          last edited by

          @stephenw10
          Nope, it's dual stack (IPv4 and IPv6)

          1 Reply Last reply Reply Quote 0
          • D Offline
            djstone @stephenw10
            last edited by

            @stephenw10
            It's indeed offline.
            I just changed it to unmonitored and, who would have thought, the DynDNS update is working again.

            D 1 Reply Last reply Reply Quote 1
            • D Offline
              djstone @djstone
              last edited by

              @djstone
              ok, I'll have to correct that statement - IPv6 worked. IPv4 shows "0.0.0.0" as IP.

              D 1 Reply Last reply Reply Quote 0
              • D Offline
                djstone @djstone
                last edited by

                @djstone
                I think the cause for the IPv4 address not updating might be, that I already did it via another service. Will restart the pppoe connection and see if it comes back to live correctly.

                1 Reply Last reply Reply Quote 1
                • D Offline
                  djstone
                  last edited by

                  Ok, so far the gateway status seems to have been the root cause. Thank you for your fast response.
                  It would be nice, if one checks "verbose" on the Dynamic DNS configuration, to actually receive a verbose ouput or at least a hint to why the update failed.

                  Last thing I see me having to do is dig into the php source code to find the possible causes.
                  Thanks again.

                  1 Reply Last reply Reply Quote 1
                  • stephenw10S Offline
                    stephenw10 Netgate Administrator
                    last edited by

                    Yup I agree. Let me see about adding some debugging there.

                    1 Reply Last reply Reply Quote 0
                    • N Offline
                      nation
                      last edited by

                      Thank you @stephenw10. That worked for me also.

                      1 Reply Last reply Reply Quote 1
                      • T Offline
                        TheBigS
                        last edited by

                        Is there any news about the problem, or is there a workaround?

                        1 Reply Last reply Reply Quote 0
                        • M Offline
                          Mocha9973
                          last edited by

                          Trying to follow along, not tried everything you guys did but found this post and that worked for me.

                          Turned of Gateway monitoring only and Dynamic DNS became online at once after a force refresh.

                          https://www.reddit.com/r/PFSENSE/comments/1kngpej/ddns_using_cloudflare_stopped_working_after/

                          1 Reply Last reply Reply Quote 0
                          • N Offline
                            nation
                            last edited by

                            @TheBigS try to check the option. For me worked
                            26e6f3f0-6ddb-41e1-ab49-9d7bbdf22cab-image.png

                            4 1 Reply Last reply Reply Quote 0
                            • stephenw10S Offline
                              stephenw10 Netgate Administrator
                              last edited by

                              Yup the change of behaviour here is that the client checks the WAN is up by the gateway status on it before it tries to update. So if your gateway monitoring shows as offline the best solution here is to correct that so it's pinging something that responds. An alternative is to just mark the gateway as always up so it doesn't get monitored but then you lose gateway data.

                              T 1 Reply Last reply Reply Quote 0
                              • T Offline
                                TheBigS @stephenw10
                                last edited by

                                @stephenw10 thanks a lot. my pfsense is now pinging quad9 and now everything is working. 👍🏻

                                1 Reply Last reply Reply Quote 1
                                • 4 Offline
                                  4920441 0
                                  last edited by

                                  ...its the same here with pppoe and dhcp

                                  using afraid, and hurricane electrics as ddns service.

                                  but it's half bad, another reason why to abandon pfsense after nearly 18 years of usage.....

                                  4 1 Reply Last reply Reply Quote 0
                                  • 4 Offline
                                    4920441 0 @nation
                                    last edited by

                                    @nation

                                    why in earth should I disable gateway monitoring since i have three pppoe connections and a dhcp connection which is a redundant setup for internet connection?!?

                                    disabling gw monitoring is a very crude workaround for a problem which should not exist in the first place! Come on.... ddns is not rocket science!!!!

                                    1 Reply Last reply Reply Quote 0
                                    • 4 Offline
                                      4920441 0 @4920441 0
                                      last edited by 4920441 0

                                      It seems as if it is the old problem from a couple of years ago coming back again:

                                      whent you get an IPv6 Address via pppoe or dhcp you also get some link local addresses for that. somtimes even the default gw is link local.

                                      It seems in some circumstances the ddns client of pfsense does not get the right ip address and makes a lot of silly stuff with the ll address....

                                      because even if forcing the update and even when the given ipv6 address is the same as before it fails to "update" the ddns service and shows a cached "::" entry ....

                                      I cannot say if the entry itself is getting updated, since, in my case, there is no change.....

                                      BTW: I just encountered my 4 IPv6 WAN Adresses are totally mixed up in the ddns entries..... I don't recon any rule about how pfsense mangled it.... wan1 has ddns IP from wan3 wan 2 and 4 does not have any dyndns address. The addresses itself are correctly assigned to the correct interfaces in the interface section.

                                      1 Reply Last reply Reply Quote 0
                                      • stephenw10S Offline
                                        stephenw10 Netgate Administrator
                                        last edited by

                                        Ok so the issue you're seeing is only affecting IPv6 addresses?

                                        And gateway monitoring is working fine for those IPv6 interfaces?

                                        That seems separate to the issue other users here were hitting.

                                        4 1 Reply Last reply Reply Quote 0
                                        • 4 Offline
                                          4920441 0 @stephenw10
                                          last edited by

                                          @stephenw10

                                          The IPv6 Addresses are not updated in the DNS. I checked that.

                                          Why should that be another Issue? Gateway monitoring for itself is working fine as far as I can tell right now.

                                          The ddns script does not resolve the current IPv6 Address - totaly irrelevant if I use a script or not - in the status display it is always "::" and not a current or past IPv6 Address.

                                          1 Reply Last reply Reply Quote 0
                                          • stephenw10S Offline
                                            stephenw10 Netgate Administrator
                                            last edited by

                                            Right, it's just that this seems to be a new/different issue to that which was discussed in this thread. Which was that a change in the behaviour of the dyndns update script meant it would not run against a WAN where the gateway is marked down.
                                            As I understand it that's not what youre seeing?

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