Getting "BADAUTH" on Linu...
Getting "BADAUTH" on Linux
- 主页
- 后台控制中心
- Community Forum
- Services
- Dynamic DNS Service
- Getting "BADAUTH" on Linux
- Community Forum
- Getting "BADAUTH" on Linux
Topic: Getting "BADAUTH" on Linux
I have a domain named: mydomain.com in dynu.com and on on my linux box I tried to set up a dynamic dns and I am getting bad authorization.Here is my conf:# ddclient configuration for Dynu## /etc/ddclient/ddclient.confdaemon=60 # Check every 60 seconds.syslog=yes # Log update msgs to syslog.mail=root # Mail all msgs to root.mail-failure=root # Mail failed update msgs to root.pid=/var/run/ddclient.pid # Record PID in file.use=web, web=checkip.dynu.com/, web-skip='IP Address' # Get ip from server.server=api.dynu.com # IP update server.protocol=dyndns2login=myusernamepassword=mypasswordmydomain.comAnd the ddclient update request:WARNING: file /var/cache/ddclient/ddclient.cache, line 3: Invalid Value for keyword 'ip' = ''CONNECT: checkip.dynu.comCONNECTED: using HTTPSENDING: GET / HTTP/1.0SENDING: Host: checkip.dynu.comSENDING: User-Agent: ddclient/3.8.3SENDING: Connection: closeSENDING:RECEIVE: HTTP/1.1 200 OKRECEIVE: Date: Fri, 16 Jun 2017 07:04:31 GMTRECEIVE: Server: Apache/2.2.15 (CentOS)RECEIVE: X-Powered-By: PHP/5.3.3RECEIVE: Content-Length: 34RECEIVE: Connection: closeRECEIVE: Content-Type: text/html; charset=UTF-8RECEIVE:RECEIVE: Current IP Address: 213.153.152.38INFO: setting IP address to 213.153.152.38 for mydomain.comUPDATE: updating mydomain.comCONNECT: api.dynu.comCONNECTED: using HTTPSENDING: GET /nic/update?system=dyndns&hostname=mydomain.com&myip=213.153.152.38 HTTP/1.0SENDING: Host: api.dynu.comSENDING: Authorization: Basic *****SENDING: User-Agent: ddclient/3.8.3SENDING: Connection: closeSENDING:RECEIVE: HTTP/1.1 200 OKRECEIVE: Date: Thu, 15 Jun 2017 23:44:20 GMTRECEIVE: Server: Dynu Web ServerRECEIVE: X-Powered-By: Dynu Dynamic DNS ServiceRECEIVE: Content-Length: 7RECEIVE: Content-Type: text/htmlRECEIVE:RECEIVE: badauthFAILED: updating mydomain.com: badauth: Bad authorization (username or password)[root@centos ~]#
Reply with quote | Report
timothytw wrote:Have you tried enclosing the password in single quotes?
field=value- B
Reply with quote | Report
blackbarret wrote:Confirmed, the ddclient password field expects single quotations and the domain as last line.Also i like to note, the config of the ddclient does not accept spaces or tabs, it requires to be LF's (not windows CRLF) and continuation oftimothytw wrote:Have you tried enclosing the password in single quotes?field=value- B
Reply with quote | Report
Author | Topic: Getting "BADAUTH" on Linux |
---|---|
erolwizard Joined: 2017/1/15 |
Getting "BADAUTH" on Linux 2017年6月15日 23:49
I have a domain named: mydomain.com in dynu.com and on on my linux box I tried to set up a dynamic dns and I am getting bad authorization.Here is my conf:# ddclient configuration for Dynu## /etc/ddclient/ddclient.confdaemon=60 # Check every 60 seconds.syslog=yes # Log update msgs to syslog.mail=root # Mail all msgs to root.mail-failure=root # Mail failed update msgs to root.pid=/var/run/ddclient.pid # Record PID in file.use=web, web=checkip.dynu.com/, web-skip='IP Address' # Get ip from server.server=api.dynu.com # IP update server.protocol=dyndns2login=myusernamepassword=mypasswordmydomain.comAnd the ddclient update request:WARNING: file /var/cache/ddclient/ddclient.cache, line 3: Invalid Value for keyword 'ip' = ''CONNECT: checkip.dynu.comCONNECTED: using HTTPSENDING: GET / HTTP/1.0SENDING: Host: checkip.dynu.comSENDING: User-Agent: ddclient/3.8.3SENDING: Connection: closeSENDING:RECEIVE: HTTP/1.1 200 OKRECEIVE: Date: Fri, 16 Jun 2017 07:04:31 GMTRECEIVE: Server: Apache/2.2.15 (CentOS)RECEIVE: X-Powered-By: PHP/5.3.3RECEIVE: Content-Length: 34RECEIVE: Connection: closeRECEIVE: Content-Type: text/html; charset=UTF-8RECEIVE:RECEIVE: Current IP Address: 213.153.152.38INFO: setting IP address to 213.153.152.38 for mydomain.comUPDATE: updating mydomain.comCONNECT: api.dynu.comCONNECTED: using HTTPSENDING: GET /nic/update?system=dyndns&hostname=mydomain.com&myip=213.153.152.38 HTTP/1.0SENDING: Host: api.dynu.comSENDING: Authorization: Basic *****SENDING: User-Agent: ddclient/3.8.3SENDING: Connection: closeSENDING:RECEIVE: HTTP/1.1 200 OKRECEIVE: Date: Thu, 15 Jun 2017 23:44:20 GMTRECEIVE: Server: Dynu Web ServerRECEIVE: X-Powered-By: Dynu Dynamic DNS ServiceRECEIVE: Content-Length: 7RECEIVE: Content-Type: text/htmlRECEIVE:RECEIVE: badauthFAILED: updating mydomain.com: badauth: Bad authorization (username or password)[root@centos ~]#
|
timothytw Joined: 2002/5/2 |
Getting "BADAUTH" on Linux 2017年6月16日 11:37
Have you tried enclosing the password in single quotes?
|
blackbarret Joined: 2017/4/26 |
Getting "BADAUTH" on Linux 2017年6月19日 6:00
field=value- B |
bdavids Joined: 2017/6/23 |
Getting "BADAUTH" on Linux 2017年6月23日 13:39
|
It is currently 2024年11月24日 0:50 US Mountain Standard Time
2024年11月24日 0:50