Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    DynamicDNS should allow "@" at hostname

    Scheduled Pinned Locked Moved DHCP and DNS
    4 Posts 3 Posters 1.6k 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.
    • F
      fdcastel
      last edited by

      I opened the following issue into pfSense

          https://redmine.pfsense.org/issues/3900

      But ain't got any replies. Could somebody help?

      No-ip has the ability to update one of several IP addresses of a round-robin DNS A record. This is done adding a "@<label>" suffix at hostname. Eg.

        myhost@mydomain.no-ip.com@label1
        myhost@mydomain.no-ip.com@label2

      However, trying to add such hostname in services_dyndns_edit.php results in the following error:

        The following input errors were detected:

        The Hostname contains invalid characters.

      Confirmed on pfSense 2.1.5

      BTW, where these configs are stored? Could I change them directly via Diagnostics / Edit File? It would be a good workaround, for now.</label>

      1 Reply Last reply
      Reply Quote 0
      • R
        rjcrowder
        last edited by

        If you want to get around it in the short term, just go change the PHP code for the page. Sounds like a pretty easy fix… If you're really ambitious, figure out how to setup GIT and push a change back to the team!!!

        The joy of using an open source firewall  ;D

        1 Reply Last reply
        Reply Quote 0
        • F
          fdcastel
          last edited by

          DOOOH! I can't believe I didn't think of that!  ::)

          I changed usr\local\www\services_dyndns_edit.php:109 from

          if (($_POST['host'] && !is_domain($_POST['host'])))

          to

          if (($_POST['host'] && !is_domain(str_replace('@', '', $_POST['host'])))) /* Fixes Bug #3900: allow "@" in hostnames (for No-Ip) */

          I'll send a Github pull request for it. Soooo hardcore… 8)

          1 Reply Last reply
          Reply Quote 0
          • P
            phil.davis
            last edited by

            For a little change like that, online-editing in GitHub is easy. You can easily select the file in master and press the pencil to edit, save and pull request. Then repeat for 2.1.x by browsing RELENG_2_1 branch.

            As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
            If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

            1 Reply Last reply
            Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post
            Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
            Privacy Policy · Cookie Policy