 DDCLIENT Not Updating - B...
 DDCLIENT Not Updating - B...
                 DDCLIENT Not Updating - BAD AUTHORIZATION?
  DDCLIENT Not Updating - BAD AUTHORIZATION?
                - Home
- Control Panel
- Community Forum
- Services
- Dynamic DNS Service
- DDCLIENT Not Updating - BAD AUTHORIZATION?
- Community Forum
- DDCLIENT Not Updating - BAD AUTHORIZATION?
Topic: DDCLIENT Not Updating - BAD AUTHORIZATION?
                                Here is the debug output:root@smashedup:/etc# sudo ddclient -daemon=0 -noquiet -debugDEBUG:    proxy  =DEBUG:    url    = checkip.dynu.com/DEBUG:    server = checkip.dynu.comDEBUG:    get_ip: using web, checkip.dynu.com/ reports 24.77.252.25DEBUG:DEBUG:     nic_dyndns2_update -------------------DEBUG:    proxy  =DEBUG:    url    = http://api.dynu.com/nic/update?system=dyndns&hostname=SMASHEDUP.DYNU.COM&myip=24.77.252.25DEBUG:    server = api.dynu.comFAILED:   updating SMASHEDUP.DYNU.COM: badauth: Bad authorization (username or password)Can't exec "sendmail": No such file or directory at /usr/sbin/ddclient line 1411.ddclient: cannot execute command | sendmail -oi root.Here is my config file minus the login/pass  Although I confirmed them umpteentimes.daemon=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.ssl=yesuse=web, web=checkip.dynu.com/, web-skip='IP Address'        # Get ip from server.server=api.dynu.com                                          # IP update server.protocol=dyndns2login=xxxxxx                                             # Your username.password=xxxxxx                                       # Password or MD5 of password.SMASHEDUP.DYNU.COM                                            # List one or more hostnames one on each line.#MYDOMAIN.COMI copy and paste the login/pass from this file to the dynu.com website login and I can log into, I also tried creating an update password that is different, same error.Please adviseM
                                
                            
                            
                            
                        Reply with quote | Report
                                Configuration file looks ok. Apart from the bad authorization, not sure what to make out of this,Can't exec "sendmail": No such file or directory at /usr/sbin/ddclient line 1411.ddclient: cannot execute command | sendmail -oi root.
                                
                            
                            
                            
                        Reply with quote | Report
                                Do you have an IP update password that's different from the account password? Did you try both?
                                
                            
                            
                            
                        Reply with quote | Report
                                I tried with the account  password first then created an IP password as well. The send mail error is just an automatic warning that gets mailed to root upon failure. So I have tried both methods of having passwords. It works fine on my windows machine, but this is on rasp Jan or minibian with a few mods. 
                                
                            
                            
                            
                        Reply with quote | Report
smashedup wrote:I tried with the account password first then created an IP password as well. The send mail error is just an automatic warning that gets mailed to root upon failure. So I have tried both methods of having passwords. It works fine on my windows machine, but this is on rasp Jan or minibian with a few mods.
Reply with quote | Report
                                I had the same problem.  I found another forum that suggested changing hostname from MYHOST.dynu.com to what it should be MYHOST.dynu.net. I changed it to .net and it worked fine. 
                                
                            
                            
                            
                        Reply with quote | Report
Shuasmith14 wrote:I had the same problem. I found another forum that suggested changing hostname from MYHOST.dynu.com to what it should be MYHOST.dynu.net. I changed it to .net and it worked fine.
Reply with quote | Report
| Author | Topic: DDCLIENT Not Updating - BAD AUTHORIZATION? | 
|---|---|
| smashedup Joined: 6/6/2015 |  DDCLIENT Not Updating - BAD AUTHORIZATION? Saturday, June 6, 2015 4:50 PM 
                                    Here is the debug output:root@smashedup:/etc# sudo ddclient -daemon=0 -noquiet -debugDEBUG:    proxy  =DEBUG:    url    = checkip.dynu.com/DEBUG:    server = checkip.dynu.comDEBUG:    get_ip: using web, checkip.dynu.com/ reports 24.77.252.25DEBUG:DEBUG:     nic_dyndns2_update -------------------DEBUG:    proxy  =DEBUG:    url    = http://api.dynu.com/nic/update?system=dyndns&hostname=SMASHEDUP.DYNU.COM&myip=24.77.252.25DEBUG:    server = api.dynu.comFAILED:   updating SMASHEDUP.DYNU.COM: badauth: Bad authorization (username or password)Can't exec "sendmail": No such file or directory at /usr/sbin/ddclient line 1411.ddclient: cannot execute command | sendmail -oi root.Here is my config file minus the login/pass  Although I confirmed them umpteentimes.daemon=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.ssl=yesuse=web, web=checkip.dynu.com/, web-skip='IP Address'        # Get ip from server.server=api.dynu.com                                          # IP update server.protocol=dyndns2login=xxxxxx                                             # Your username.password=xxxxxx                                       # Password or MD5 of password.SMASHEDUP.DYNU.COM                                            # List one or more hostnames one on each line.#MYDOMAIN.COMI copy and paste the login/pass from this file to the dynu.com website login and I can log into, I also tried creating an update password that is different, same error.Please adviseM
                                    
                                 | 
| gilbertandkelly Joined: 8/17/2002 |  DDCLIENT Not Updating - BAD AUTHORIZATION? Saturday, June 6, 2015 5:55 PM 
                                    Configuration file looks ok. Apart from the bad authorization, not sure what to make out of this,Can't exec "sendmail": No such file or directory at /usr/sbin/ddclient line 1411.ddclient: cannot execute command | sendmail -oi root.
                                    
                                 | 
| hinvector Joined: 7/28/1998 |  DDCLIENT Not Updating - BAD AUTHORIZATION? Saturday, June 6, 2015 6:02 PM 
                                    Do you have an IP update password that's different from the account password? Did you try both?
                                    
                                 | 
| smashedup Joined: 6/6/2015 |  DDCLIENT Not Updating - BAD AUTHORIZATION? Saturday, June 6, 2015 6:53 PM 
                                    I tried with the account  password first then created an IP password as well. The send mail error is just an automatic warning that gets mailed to root upon failure. So I have tried both methods of having passwords. It works fine on my windows machine, but this is on rasp Jan or minibian with a few mods. 
                                    
                                 | 
| ffleandro Joined: 9/24/2015 |  DDCLIENT Not Updating - BAD AUTHORIZATION? Thursday, September 24, 2015 5:00 PM 
 | 
| hughieJ Joined: 10/27/2016 |  DDCLIENT Not Updating - BAD AUTHORIZATION? Friday, October 28, 2016 9:04 AM 
                                    me too - sure I have the password right - raspberry pi
                                    
                                 | 
| Shuasmith14 Joined: 3/13/2019 |  DDCLIENT Not Updating - BAD AUTHORIZATION? Sunday, March 31, 2019 9:05 AM 
                                    I had the same problem.  I found another forum that suggested changing hostname from MYHOST.dynu.com to what it should be MYHOST.dynu.net. I changed it to .net and it worked fine. 
                                    
                                 | 
| xiaoye Joined: 3/27/2015 |  DDCLIENT Not Updating - BAD AUTHORIZATION? Sunday, March 31, 2019 10:07 AM 
 | 
 It is currently Thursday, October 30, 2025 11:33 AM US Mountain Standard Time
 It is currently Thursday, October 30, 2025 11:33 AM US Mountain Standard Time
        
            Thursday, October 30, 2025 11:33 AM
        
    
 
  
  
 