'badauth' error when usin...
'badauth' error when using ddclient to update
- Casa
- Pannello di controllo
- Forum della Comunità
- Services
- Dynamic DNS Service
- 'badauth' error when using ddclient to update
- Forum della Comunità
- 'badauth' error when using ddclient to update
Argomento: 'badauth' error when using ddclient to update
Hi,I really want to become a fully-fledged dynu.com member as everything I've seen so far seems perfect - apart from the fact that I've failed at the first hurdle!Having set up a test domain (sub.newtonnet.co.uk), all delegated properly to ns[1-5].dynu.com and with a manually-configured resource record of test.sub.newtonnet.co.uk all resolving I cannot seem to update it with ddclient:
# ddclient -foreground -forceFAILED: updating test.sub.newtonnet.co.uk: badauth: Bad authorization (username or password)Here is my config (credentials obfuscated):
# cat /etc/ddclient.conf# Configuration file for ddclient generated by debconf## /etc/ddclient.confprotocol=dyndns2use=if, if=eno1server=api.dynu.comlogin=<myusnername>password=<mypassword>test.sub.newtonnet.co.ukAnd here is the verbose output of the command:
# ddclient -foreground -force -verboseINFO: forcing update of test.sub.newtonnet.co.uk.INFO: setting IP address to 192.168.1.20 for test.sub.newtonnet.co.ukUPDATE: updating test.sub.newtonnet.co.ukCONNECT: api.dynu.comCONNECTED: using HTTPSENDING: GET /nic/update?system=dyndns&hostname=test.sub.newtonnet.co.uk&myip=192.168.1.20 HTTP/1.0SENDING: Host: api.dynu.comSENDING: Authorization: Basic <base64 encoding of <myusername>:<mypassword>>SENDING: User-Agent: ddclient/3.8.2SENDING: Connection: closeSENDING: RECEIVE: HTTP/1.1 200 OKRECEIVE: Date: Sun, 01 May 2016 5:3:39 GMTRECEIVE: Server: Dynu Web ServerRECEIVE: X-Powered-By: Dynu Dynamic DNS ServiceRECEIVE: Content-Length: 7RECEIVE: Content-Type: text/htmlRECEIVE: RECEIVE: badauthFAILED: updating test.sub.newtonnet.co.uk: badauth: Bad authorization (username or password)I have confirmed that the username and password are correct (have also tried with/without a separate update password) and that the base64 encoding of <myusername>:<mypassword> being sent is also correct.Any ideas? It is very frustrating to have fallen at the first hurdle as I really want to succeed with this!Regards,Mathew
Rispondi con citazione | Segnalare
If you have signed up dynamic DNS service for newtonnet.co.uk and added test as alias in the 'Alias' section, you should be using the following code:
# cat /etc/ddclient.conf# Configuration file for ddclient generated by debconf## /etc/ddclient.confprotocol=dyndns2use=if, if=eno1server=api.dynu.comlogin=password=sub.newtonnet.co.uk&alias=testFor more information, you can refer to the DDClient config.
Rispondi con citazione | Segnalare
Autore | Argomento: 'badauth' error when using ddclient to update |
---|---|
mjnewton Iscritto: 12/03/2016 |
'badauth' error when using ddclient to update domenica 1 maggio 2016 05:09
Hi,I really want to become a fully-fledged dynu.com member as everything I've seen so far seems perfect - apart from the fact that I've failed at the first hurdle!Having set up a test domain (sub.newtonnet.co.uk), all delegated properly to ns[1-5].dynu.com and with a manually-configured resource record of test.sub.newtonnet.co.uk all resolving I cannot seem to update it with ddclient:
# ddclient -foreground -forceFAILED: updating test.sub.newtonnet.co.uk: badauth: Bad authorization (username or password)Here is my config (credentials obfuscated): # cat /etc/ddclient.conf# Configuration file for ddclient generated by debconf## /etc/ddclient.confprotocol=dyndns2use=if, if=eno1server=api.dynu.comlogin=<myusnername>password=<mypassword>test.sub.newtonnet.co.ukAnd here is the verbose output of the command: # ddclient -foreground -force -verboseINFO: forcing update of test.sub.newtonnet.co.uk.INFO: setting IP address to 192.168.1.20 for test.sub.newtonnet.co.ukUPDATE: updating test.sub.newtonnet.co.ukCONNECT: api.dynu.comCONNECTED: using HTTPSENDING: GET /nic/update?system=dyndns&hostname=test.sub.newtonnet.co.uk&myip=192.168.1.20 HTTP/1.0SENDING: Host: api.dynu.comSENDING: Authorization: Basic <base64 encoding of <myusername>:<mypassword>>SENDING: User-Agent: ddclient/3.8.2SENDING: Connection: closeSENDING: RECEIVE: HTTP/1.1 200 OKRECEIVE: Date: Sun, 01 May 2016 5:3:39 GMTRECEIVE: Server: Dynu Web ServerRECEIVE: X-Powered-By: Dynu Dynamic DNS ServiceRECEIVE: Content-Length: 7RECEIVE: Content-Type: text/htmlRECEIVE: RECEIVE: badauthFAILED: updating test.sub.newtonnet.co.uk: badauth: Bad authorization (username or password)I have confirmed that the username and password are correct (have also tried with/without a separate update password) and that the base64 encoding of <myusername>:<mypassword> being sent is also correct.Any ideas? It is very frustrating to have fallen at the first hurdle as I really want to succeed with this!Regards,Mathew |
timothytw Iscritto: 02/05/2002 |
'badauth' error when using ddclient to update mercoledì 4 maggio 2016 11:29
If you have signed up dynamic DNS service for newtonnet.co.uk and added test as alias in the 'Alias' section, you should be using the following code:
# cat /etc/ddclient.conf# Configuration file for ddclient generated by debconf## /etc/ddclient.confprotocol=dyndns2use=if, if=eno1server=api.dynu.comlogin=password=sub.newtonnet.co.uk&alias=testFor more information, you can refer to the DDClient config. |
Al momento è giovedì 26 dicembre 2024 10:38 US Mountain Standard Time
giovedì 26 dicembre 2024 10:38