Hello,
I'm hoping that someone that has gotten os-ddclient to work with godaddy can help me out to get it working. I've been trying for the past few months, and have had no luck. Since the new client has been introduced they have added godaddy in the list of supported services.
I'm not sure what it is that I'm doing wrong. I'm able to get it working fine with a shell script with the same server/credentials. It also works fine with the depreciated dyndns client.
I've tried both available protocols, and can't get it to update.
This is what is in the log with both of the protocols:
2022-07-07T13:33:44-06:00 Notice ddclient[82034] 6272 - [meta sequenceId="21"] RECEIVE: {"code":"NOT_FOUND","message":"Not Found : The requested resource was not found"}
2022-07-07T13:33:44-06:00 Notice ddclient[82034] 4636 - [meta sequenceId="20"] RECEIVE:
2022-07-07T13:33:44-06:00 Notice ddclient[82034] 3140 - [meta sequenceId="19"] RECEIVE: Connection: close
2022-07-07T13:33:44-06:00 Notice ddclient[82034] 1262 - [meta sequenceId="18"] RECEIVE: Date: Thu, 07 Jul 2022 19:33:44 GMT
2022-07-07T13:33:44-06:00 Notice ddclient[82034] 233 - [meta sequenceId="17"] RECEIVE: Pragma: no-cache
2022-07-07T13:33:44-06:00 Notice ddclient[82034] 98779 - [meta sequenceId="16"] RECEIVE: Cache-Control: max-age=0, no-cache, no-store
2022-07-07T13:33:44-06:00 Notice ddclient[82034] 97726 - [meta sequenceId="15"] RECEIVE: Expires: Thu, 07 Jul 2022 19:33:44 GMT
2022-07-07T13:33:44-06:00 Notice ddclient[82034] 96279 - [meta sequenceId="14"] RECEIVE: Content-Length: 81
2022-07-07T13:33:44-06:00 Notice ddclient[82034] 95578 - [meta sequenceId="13"] RECEIVE: Content-Type: application/json
2022-07-07T13:33:44-06:00 Notice ddclient[82034] 94404 - [meta sequenceId="12"] RECEIVE: HTTP/1.0 404 Not Found
2022-07-07T13:33:44-06:00 Notice ddclient[82034] 93004 - [meta sequenceId="11"] SENDING:
2022-07-07T13:33:44-06:00 Notice ddclient[82034] 93004 - [meta sequenceId="10"] SENDING:
2022-07-07T13:33:44-06:00 Notice ddclient[82034] 93004 - [meta sequenceId="9"] SENDING: Connection: close
2022-07-07T13:33:44-06:00 Notice ddclient[82034] 93004 - [meta sequenceId="8"] SENDING: User-Agent: ddclient/3.9.1
2022-07-07T13:33:44-06:00 Notice ddclient[82034] 93004 - [meta sequenceId="7"] SENDING: Authorization: Basic XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
2022-07-07T13:33:44-06:00 Notice ddclient[82034] 93004 - [meta sequenceId="6"] SENDING: Host: api.godaddy.com
2022-07-07T13:33:44-06:00 Notice ddclient[82034] 93004 - [meta sequenceId="5"] SENDING: GET /nic/dyndns?action=edit&started=1&hostname=YES&host_id=cXXXX.XXXXXXXXXXXX.com&myip=XX.XXX.XX.XXX HTTP/1.0
2022-07-07T13:33:44-06:00 Notice ddclient[82034] 91134 - [meta sequenceId="4"] CONNECTED: using SSL
2022-07-07T13:33:43-06:00 Notice ddclient[82034] 87859 - [meta sequenceId="3"] CONNECT: api.godaddy.com
2022-07-07T13:33:43-06:00 Notice ddclient[82034] 85229 - [meta sequenceId="2"] UPDATE: updating XXXX.XXXXXXXXXXXX.com
2022-07-07T13:33:43-06:00 Notice ddclient[82034] 83545 - [meta sequenceId="1"] INFO: setting IP address to XX.XXX.XX.XXX for XXXX.XXXXXXXXXXXX.com
If I use the no protocol setting I get:
2022-07-07T13:25:52-06:00 Notice ddclient[24847] 45739 - [meta sequenceId="22"] RECEIVE: {"code":"NOT_FOUND","message":"Not Found : The requested resource was not found"}
2022-07-07T13:25:52-06:00 Notice ddclient[24847] 43836 - [meta sequenceId="21"] RECEIVE:
2022-07-07T13:25:52-06:00 Notice ddclient[24847] 42964 - [meta sequenceId="20"] RECEIVE: Connection: close
2022-07-07T13:25:52-06:00 Notice ddclient[24847] 41413 - [meta sequenceId="19"] RECEIVE: Date: Thu, 07 Jul 2022 19:25:52 GMT
2022-07-07T13:25:52-06:00 Notice ddclient[24847] 41122 - [meta sequenceId="18"] RECEIVE: Pragma: no-cache
2022-07-07T13:25:52-06:00 Notice ddclient[24847] 40200 - [meta sequenceId="17"] RECEIVE: Cache-Control: max-age=0, no-cache, no-store
2022-07-07T13:25:52-06:00 Notice ddclient[24847] 39090 - [meta sequenceId="16"] RECEIVE: Expires: Thu, 07 Jul 2022 19:25:52 GMT
2022-07-07T13:25:52-06:00 Notice ddclient[24847] 38372 - [meta sequenceId="15"] RECEIVE: Content-Length: 81
2022-07-07T13:25:52-06:00 Notice ddclient[24847] 37251 - [meta sequenceId="14"] RECEIVE: Content-Type: application/json
2022-07-07T13:25:52-06:00 Notice ddclient[24847] 35815 - [meta sequenceId="13"] RECEIVE: HTTP/1.0 404 Not Found
2022-07-07T13:25:52-06:00 Notice ddclient[24847] 35029 - [meta sequenceId="12"] SENDING:
2022-07-07T13:25:52-06:00 Notice ddclient[24847] 35029 - [meta sequenceId="11"] SENDING:
2022-07-07T13:25:52-06:00 Notice ddclient[24847] 35029 - [meta sequenceId="10"] SENDING: Connection: close
2022-07-07T13:25:52-06:00 Notice ddclient[24847] 35029 - [meta sequenceId="9"] SENDING: User-Agent: ddclient/3.9.1
2022-07-07T13:25:52-06:00 Notice ddclient[24847] 35029 - [meta sequenceId="8"] SENDING: Authorization: Basic XXXXXXXXXXX
2022-07-07T13:25:52-06:00 Notice ddclient[24847] 35029 - [meta sequenceId="7"] SENDING: Host: api.godaddy.com
2022-07-07T13:25:52-06:00 Notice ddclient[24847] 35029 - [meta sequenceId="6"] SENDING: GET /nic/update?system=dyndns&hostname=XXXX.XXXXXX.com&myip=XX.XXX.XX.XXX HTTP/1.0
2022-07-07T13:25:52-06:00 Notice ddclient[24847] 33425 - [meta sequenceId="5"] CONNECTED: using SSL
2022-07-07T13:25:51-06:00 Notice ddclient[24847] 29979 - [meta sequenceId="4"] CONNECT: api.godaddy.com
2022-07-07T13:25:51-06:00 Notice ddclient[24847] 29104 - [meta sequenceId="3"] UPDATE: updating XXXX.XXXXXX.com
2022-07-07T13:25:51-06:00 Notice ddclient[24847] 27913 - [meta sequenceId="2"] INFO: setting IP address to XX.XXX.XX.XXX for XXXX.XXXXXX.com
2022-07-07T13:25:51-06:00 Notice ddclient[24847] 25940 - [meta sequenceId="1"] WARNING: file /usr/local/etc/ddclient.conf, line 12: Invalid Value for keyword 'protocol' = ''
The content of os-ddclient.conf is this:
syslog=yes # log update msgs to syslog
pid=/var/run/ddclient.pid # record PID in file.
verbose=yes
ssl=yes
use=if, if=igb1, \
protocol=, \
server=api.godaddy.com, \
login=XXXXXXXXXXXXXX, \
password=XXXXXXXXXXXXX \
If I use dyndns 1/2 as the protocol they show in the config as expected.
Thank you in advance for your help!
So I was digging around with this again.
In opnsense ddclient is showing ver 1.8. The git is showing 3.10.0.
I can grep godaddy in the source files, and I can see what 1.8 won't let me add manually to the config or add via the GUI which is "api.godaddy.com/v1/domains" as the server.
This is in the 3.10.0 source:
'godaddy' => {
'updateable' => undef,
'update' => \&nic_godaddy_update,
'examples' => \&nic_godaddy_examples,
'variables' => {
%{$variables{'service-common-defaults'}},
'min-interval' => setv(T_DELAY, 0, 0, interval('5m'), 0),
'server' => setv(T_FQDNP, 1, 0, 'api.godaddy.com/v1/domains', undef),
'ttl' => setv(T_NUMBER, 1, 0, 600, undef),
'zone' => setv(T_FQDN, 1, 0, '', undef),
},
Is this just something that hasn't been added to the opnsense repo that will be added later?