Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ddclient gives warning "cannot connect to checkip.dyndns.org" #86

Closed
jgwallace3 opened this issue Dec 4, 2019 · 7 comments
Closed

Ddclient gives warning "cannot connect to checkip.dyndns.org" #86

jgwallace3 opened this issue Dec 4, 2019 · 7 comments

Comments

@jgwallace3
Copy link

My ddlclient (3.9.0) recently started kicking out an odd warning message. Site checkip.dyndns.org is definitely available. I rebooted a few times just to be sure. Ideas?

From SYSLOG:
Dec  4 16:53:41 MINIPC ddclient[918]: WARNING:  cannot connect to checkip.dyndns.org:80 socket: IO::Socket::INET: Bad hostname 'checkip.dyndns.org'
Dec  4 16:53:41 MINIPC ddclient[918]: WARNING:  found neither ipv4 nor ipv6 address

From BASH (IP returned IS correct):
16:55 ~ : curl checkip.dyndns.org
<html><head><title>Current IP Check</title></head><body>Current IP Address: xxx.xxx.xxx.xxx</body></html>
@petersjt014
Copy link

Looks like this has happened before (#41). I've added something on that issue that might fix this (by moving to a new site).

@ajm1635
Copy link

ajm1635 commented Jan 1, 2020

Alternatives:
http://bot.whatismyipaddress.com/
A description of the service can be found here: https://whatismyipaddress.com/api

http://ifconfig.me/ip

https://api.myip.com

Oracle is making major changes at Dyn so I am not sure if the checkip.dyndns.org will continue to be available. The standard DNS product will be end of life on May 31, 2020. Oracle has stated the Pro product will continue as is.
https://www.oracle.com/corporate/acquisitions/dyn/technologies/ecommerce-customer-faq.html

@SuperSandro2000
Copy link
Member

Why can't you get your IP address from your router?

@ajm1635
Copy link

ajm1635 commented Jan 1, 2020

Why can't you get your IP address from your router?

There are routers which do not make the information (easily) available so ddclient has supported web-based external public IP retrieval since the beginning.

@jgwallace3
Copy link
Author

As @ajm1635, indicated, my router doesn't provide the IP info. I've switched to "web=bot.whatismyipaddress.com" and that is working well.

Curiously, I still get the "WARNING: found neither ipv4 nor ipv6 address" message.
(But NOT the "cannot connect" one now :))

@ajm1635
Copy link

ajm1635 commented Jan 2, 2020

Curiously, I still get the "WARNING: found neither ipv4 nor ipv6 address" message.
(But NOT the "cannot connect" one now :))

Are you sure that is not an old message? Looking at the code it appears the external ip would not get set in the case where that error message is emitted. Otherwise try running with debug enabled.

@jgwallace3
Copy link
Author

Sorry for a false alert. That warning is only generated when I run "ddclient -daemon=0 -query -debug". If comes right after the 'use=if' statements.

Normal operation is NOT giving those messages.

@rhansen rhansen closed this as completed Jun 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants