DDNS client for name.com - requires a hostname but DDNS hosting site does not
-
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.