Project

General

Profile

Actions

Bug #14276

open

One.com dynamic DNS doesn't work

Added by Alexander Arques about 1 year ago. Updated 6 months ago.

Status:
Pull Request Review
Priority:
Normal
Assignee:
-
Category:
Dynamic DNS
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Default
Affected Version:
2.6.0
Affected Architecture:
All

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

one.com-dyndns-patch.diff (4.58 KB) one.com-dyndns-patch.diff Alexander Arques, 04/13/2023 01:21 PM
one.com-dyndns-patch.diff (4.47 KB) one.com-dyndns-patch.diff Removed left over log_error line. Alexander Arques, 04/13/2023 03:25 PM
Actions

Also available in: Atom PDF