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

    DDNS client for name.com - requires a hostname but DDNS hosting site does not

    Scheduled Pinned Locked Moved DHCP and DNS
    1 Posts 1 Posters 303 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.
    • C
      cerberus128
      last edited by cerberus128

      Hello. I am on pfSense CE 2.6.0 and when I try to create or update a client record for Name.com where the hostname is blank, it is not saveable and the red 'error' banner is displayed and the error is "The hostname contains invalid characters". However, this is valid as per https://www.name.com/api-docs/dns#CreateRecord (same information listed for UpdateRecord)

      host (string)
      Host is the hostname relative to the zone: e.g. for a record for blog.example.org, domain would be "example.org" and host would be "blog". An apex record would be specified by either an empty host "" or "@".

      I took a look at services_dyndns.php and services_dyndns_edit.php but I was unable to discern the place or places necessary to make the proper change(s) to allow for @ in the hostname field. I tried (after making a backup of the original file) adding

      ($pconfig['type'] == "name.com") || ($pconfig['type'] == "name.com-v6") ||
      

      to a few different places such as line 125 (where namecheap is) or 133 or I even added a whole copy of those lines but I seem to not grasp where $pconfig is getting its inputs/defaults from. Guidance would be most appreciated. I can also open a redmine as might be suggested for a permanent solution.

      Thank you.

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