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

    @ Symbol For NameCheap Dynamic DNS

    Scheduled Pinned Locked Moved DHCP and DNS
    8 Posts 3 Posters 1.8k 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 Offline
      Trel
      last edited by

      In 2.3 I can't seem to put the @ symbol for the hostname section of a dynamic DNS entry.
      It tells me that there's invalid characters.

      I already opened a bug report, but in the mean time is there any workaround?

      1 Reply Last reply Reply Quote 0
      • jimpJ Offline
        jimp Rebel Alliance Developer Netgate
        last edited by

        Have you tried with "@." instead of just "@"?

        The input validation is the same on 2.3 as 2.2 for that field.

        Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • T Offline
          Trel
          last edited by

          @jimp:

          Have you tried with "@." instead of just "@"?

          The input validation is the same on 2.3 as 2.2 for that field.

          Yes.ย  If I put a @ in the hostname field, regardless of the period, I get

          The following input errors were detected:

          The hostname contains invalid characters.

          If I put "@.words" that works, but "@" does not and "@." does not.

          But since the update URL is

          https://dynamicdns.park-your-domain.com/update?host=<host>&domain=<domain>&password=<pass>&ip=</pass></domain></host>
          

          The @ symbol needs to be accepted for the hostname alone.

          1 Reply Last reply Reply Quote 0
          • jimpJ Offline
            jimp Rebel Alliance Developer Netgate
            last edited by

            Can you try this patch using the System Patches package?

            http://files.atx.pfsense.org/jimp/patches/namecheap-host-fix-6122.patch

            Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • T Offline
              Trel
              last edited by

              As noted in the ticket, with that patch, it allows the @ symbol, and I can also confirm that it correctly updated the IP at Namecheap's end.

              1 Reply Last reply Reply Quote 0
              • jimpJ Offline
                jimp Rebel Alliance Developer Netgate
                last edited by

                Thanks for the follow-up. The fix is committed, and it will be in 2.3.1.

                Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                Need help fast? Netgate Global Support!

                Do not Chat/PM for help!

                1 Reply Last reply Reply Quote 0
                • G Offline
                  gyNejNpp82XB
                  last edited by

                  I've updated to 2.3_1 but the @ character is still not accepted.

                  These are results of the test of the patch, am I doing something wrong?

                  /usr/bin/patch --directory=/ -t -p1 -i /var/patches/573a5af786155.patch --check --forward --ignore-whitespace
                  
                  Hmm...ย  Looks like a unified diff to me...
                  The text leading up to this was:
                  --------------------------
                  |diff --git a/src/usr/local/www/services_dyndns_edit.php b/src/usr/local/www/services_dyndns_edit.php
                  |index 5ca0714..ccac09a 100644
                  |--- a/src/usr/local/www/services_dyndns_edit.php
                  |+++ b/src/usr/local/www/services_dyndns_edit.php
                  --------------------------
                  No file to patch.ย  Skipping...
                  Hunk #1 ignored at 147.
                  1 out of 1 hunks ignored while patching src/usr/local/www/services_dyndns_edit.php
                  done
                  
                  

                  I had to change "Path Strip Count" to 2 and that got it to patch to apply and I am able to use the @ character now and it's updating again.ย  Thanks!

                  1 Reply Last reply Reply Quote 0
                  • jimpJ Offline
                    jimp Rebel Alliance Developer Netgate
                    last edited by

                    @gyNejNpp82XB:

                    I've updated to 2.3_1 but the @ character is still not accepted.

                    2.3_1 is not 2.3.1. 2.3_1 is really 2.3.0_1, it was a minor NTP update.

                    2.3.1 is not yet released, but will be in the next day or so (unless we find any problems)

                    Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                    Need help fast? Netgate Global Support!

                    Do not Chat/PM for help!

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