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

    Namecheap Dynamic DNS cached ip 0.0.0.0 issue

    Scheduled Pinned Locked Moved DHCP and DNS
    19 Posts 7 Posters 2.7k 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.
    • T
      tribesstorm @viragomann
      last edited by

      @viragomann Thanks! It looks like creating a custom entry worked.

      1 Reply Last reply Reply Quote 0
      • V viragomann referenced this topic on
      • V viragomann referenced this topic on
      • S
        samh
        last edited by

        This could be a change by namecheap again but you can see in the logs posted that the errcount does indeed equal 0 so it seems like PFsense is not parsing it correctly. Any suggestions as to how we can fix it so we don't have to use a custom service without a reponse as that seems to just remove the response and not do any verification that the DNS is actually updated. I I can manually check but ideally, I would like pfsense to be able to check it so I can see visually on the dashboard that records are updated without having to manually check.

        V 1 Reply Last reply Reply Quote 0
        • V
          viragomann @samh
          last edited by

          @samh said in Namecheap Dynamic DNS cached ip 0.0.0.0 issue:

          you can see in the logs posted that the errcount does indeed equal 0 so it seems like PFsense is not parsing it correctly.

          Yeah, as mentioned above here, updating the DNS will work anyway, but pfSense gets no confirmation from the server.

          pfSense is expecting specific known response data, but the server sends something else. Hence it says "unknown response" and cannot confirm that the update succeed.

          The expected response is hard-coded in pfSense. But hey, it's open source, so you can change it if you want.

          S 1 Reply Last reply Reply Quote 0
          • S
            samh @viragomann
            last edited by

            @viragomann Thanks for the response. Unfortunately, not a skilled developer (I only dabble) so I took the path of least resistance and moved to another Dynamic DNS Provider.

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

              Got the same issue here. Found the problem is the utf-16 vs utf-8 response Netgate expects. You can fix it but you have to edit /etc/inc/dyndns.class

              Goto line 1712 and change $data to $data_tmp so the line is:
              $data_tmp = substr($response, $header_size);

              Then add this line underneath it:
              $data = str_replace("utf-16", "utf-8", $data_tmp);

              This will get you your green status and cahed ip.

              S 1 Reply Last reply Reply Quote 0
              • S
                SteveITS Galactic Empire @wazari
                last edited by

                @wazari The System Patches package has an entry "Fix Namecheap Dynamic DNS response processing (Redmine #12816)". Per that redmine it was fixed/patched, broke again, and was patched again.

                Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                Upvote ๐Ÿ‘ helpful posts!

                W A 2 Replies Last reply Reply Quote 0
                • W
                  wazari @SteveITS
                  last edited by

                  @steveits - Which patch package is that as i'm running the 3100 netgate with 22.05 stable and it's up-to-date.. Ahh i see in the Redmine issue: the plus target is 23.01. That is still the dev version. I'm running the stable so when 23.01 becomes stable this won't be an issue anymore.

                  Thanks

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    SteveITS Galactic Empire @wazari
                    last edited by SteveITS

                    @wazari System Patches is an add on package by Netgate that has fixes not in the release versions. The fixes eventually roll into the next version of pfSense.

                    Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                    When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                    Upvote ๐Ÿ‘ helpful posts!

                    W 1 Reply Last reply Reply Quote 0
                    • W
                      wazari @SteveITS
                      last edited by

                      @steveits - Yes saw it. Thanks..
                      So for now my 22.05 version works with the fix, thats fine

                      1 Reply Last reply Reply Quote 0
                      • A
                        aheadalarmroom @SteveITS
                        last edited by

                        @steveits Patch is not available in Patches for people running PFSense+ v22.05

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          SteveITS Galactic Empire @aheadalarmroom
                          last edited by

                          @aheadalarmroom On 22.05 I have applied:
                          Namecheap DDNS on 22.05

                          Ensure you have the latest Patches package. They add patches via a package update as opposed to an external list.

                          Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                          When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                          Upvote ๐Ÿ‘ helpful posts!

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