Bug #14276
openOne.com dynamic DNS doesn't work
0%
Description
I registered a domain on One.com yesterday and later found out that the Dynamic DNS updater for it in pfSense doesn't work with it. I'm not sure if it ever worked or if they changed something on their webpage but I managed to fix it either way.
I will attach my first system patch here which solves the issue. I'm not sure it's written in the best way though. I couldn't get it to work with the previous cookie-extractor script, I suspect it might be too basic since it seems to ignore cookie domains, paths and other rules. Therefore I used the CURL cookiejar feature instead.
After fixing the login issue I still wasn't able to update my one.com root domain without modifying the validation rules on the "services_dyndns_edit.php" page to allow a hostname of "@" to signify that I want the root domain record to be updated. I didn't document this but there was no documentation for one.com previously either.
Feel free to clean up my patch in any way you want, I have 0 previous experience with patching pfSense or writing PHP code.
It seems like the ACME package also has a DNS updater for One.com but it also seems broken but I have not yet investigated why. But I suspect it fails to login similarily, but I might investigate that deeper at some point in the future and perhaps create a separate issue for that one later.
Files