Comments (17)
I'm not sure I agree with your conclusion. At least from that very brief log you post here.
In my post, in the link you post above, I have a longer log that gives a quite different perspective:
Oct 26 19:17:22 falc INADYN[476]: No IP change detected, still at 90.224.113.30
Oct 26 19:26:29 falc ntpclient[547]: Time set from remote server, li 0, stratum 1
Oct 26 19:27:43 falc INADYN[476]: Error 110 when connecting to remote server: Connection timed out
Oct 26 19:27:43 falc INADYN[476]: Failed periodic query of IP address change. Error 'RC_IP_CONNECT_FAILED' (0x13)
Oct 26 19:36:29 falc ntpclient[547]: Time set from remote server, li 0, stratum 1
Oct 26 19:38:04 falc INADYN[476]: Error 110 when connecting to remote server: Connection timed out
Oct 26 19:38:04 falc INADYN[476]: Failed periodic query of IP address change. Error 'RC_IP_CONNECT_FAILED' (0x13)
Oct 26 19:46:29 falc ntpclient[547]: Time set from remote server, li 0, stratum 1
Oct 26 19:48:04 falc INADYN[476]: No IP change detected, still at 90.224.113.30
Oct 26 19:56:29 falc ntpclient[547]: Time set from remote server, li 0, stratum 1
Oct 26 19:58:05 falc INADYN[476]: No IP change detected, still at 90.224.113.30
Oct 26 20:06:29 falc ntpclient[547]: Time set from remote server, li 0, stratum 1
Oct 26 20:08:26 falc INADYN[476]: Error 110 when connecting to remote server: Connection timed out
Oct 26 20:08:26 falc INADYN[476]: Failed periodic query of IP address change. Error 'RC_IP_CONNECT_FAILED' (0x13)
Oct 26 20:16:29 falc ntpclient[547]: Time set from remote server, li 0, stratum 1
Oct 26 20:18:47 falc INADYN[476]: Error 110 when connecting to remote server: Connection timed out
Oct 26 20:18:47 falc INADYN[476]: Failed periodic query of IP address change. Error 'RC_IP_CONNECT_FAILED' (0x13)
Oct 26 20:26:29 falc ntpclient[547]: Time set from remote server, li 0, stratum 1
Oct 26 20:28:47 falc INADYN[476]: No IP change detected, still at 90.224.113.30
Oct 26 20:36:29 falc ntpclient[547]: Time set from remote server, li 0, stratum 1
Oct 26 20:38:47 falc INADYN[476]: No IP change detected, still at 90.224.113.30
Oct 26 20:46:29 falc ntpclient[547]: Time set from remote server, li 0, stratum 1
Oct 26 20:48:48 falc INADYN[476]: No IP change detected, still at 90.224.113.30
Oct 26 20:56:29 falc ntpclient[547]: Time set from remote server, li 0, stratum 1
Oct 26 20:58:48 falc INADYN[476]: No IP change detected, still at 90.224.113.30
Here it is evident that inadyn 1.97.x actually does recover. Sure it doesn't retry immediately, and it sometimes still fails, but that's only because the DNS lookup of the name somtimes returns that non-working IP address.
from inadyn.
Here is the entire log. There isn't any successful try
Fri Oct 29 07:15:56 2010: Started 'INADYN version 1.97.1' - dynamic DNS updater.
Fri Oct 29 07:15:57 2010: Error 11 when resolving host name checkip.dyndns.org: Resource temporarily unavailable
Fri Oct 29 07:15:57 2010: Failed periodic query of IP address change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
Fri Oct 29 07:35:57 2010: Error 11 when resolving host name checkip.dyndns.org: Resource temporarily unavailable
Fri Oct 29 07:35:57 2010: Failed periodic query of IP address change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
Fri Oct 29 07:55:57 2010: Error 11 when resolving host name checkip.dyndns.org: Resource temporarily unavailable
Fri Oct 29 07:55:57 2010: Failed periodic query of IP address change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
Fri Oct 29 08:15:57 2010: Error 11 when resolving host name checkip.dyndns.org: Resource temporarily unavailable
Fri Oct 29 08:15:57 2010: Failed periodic query of IP address change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
Fri Oct 29 08:35:57 2010: Error 11 when resolving host name checkip.dyndns.org: Resource temporarily unavailable
Fri Oct 29 08:35:57 2010: Failed periodic query of IP address change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
Fri Oct 29 08:55:57 2010: Error 11 when resolving host name checkip.dyndns.org: Resource temporarily unavailable
Fri Oct 29 08:55:57 2010: Failed periodic query of IP address change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
Fri Oct 29 09:15:57 2010: Error 11 when resolving host name checkip.dyndns.org: Resource temporarily unavailable
Fri Oct 29 09:15:57 2010: Failed periodic query of IP address change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
Fri Oct 29 09:35:58 2010: Error 11 when resolving host name checkip.dyndns.org: Resource temporarily unavailable
Fri Oct 29 09:35:58 2010: Failed periodic query of IP address change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
Fri Oct 29 09:55:58 2010: Error 11 when resolving host name checkip.dyndns.org: Resource temporarily unavailable
Fri Oct 29 09:55:58 2010: Failed periodic query of IP address change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
Fri Oct 29 10:15:58 2010: Error 11 when resolving host name checkip.dyndns.org: Resource temporarily unavailable
Fri Oct 29 10:15:58 2010: Failed periodic query of IP address change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
Fri Oct 29 10:35:58 2010: Error 11 when resolving host name checkip.dyndns.org: Resource temporarily unavailable
Fri Oct 29 10:35:58 2010: Failed periodic query of IP address change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
Fri Oct 29 10:55:58 2010: Error 11 when resolving host name checkip.dyndns.org: Resource temporarily unavailable
Fri Oct 29 10:55:58 2010: Failed periodic query of IP address change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
Fri Oct 29 11:15:58 2010: Error 11 when resolving host name checkip.dyndns.org: Resource temporarily unavailable
Fri Oct 29 11:15:58 2010: Failed periodic query of IP address change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
Fri Oct 29 11:35:59 2010: Error 11 when resolving host name checkip.dyndns.org: Resource temporarily unavailable
Fri Oct 29 11:35:59 2010: Failed periodic query of IP address change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
Fri Oct 29 11:55:59 2010: Error 11 when resolving host name checkip.dyndns.org: Resource temporarily unavailable
Fri Oct 29 11:55:59 2010: Failed periodic query of IP address change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
Fri Oct 29 12:15:59 2010: Error 11 when resolving host name checkip.dyndns.org: Resource temporarily unavailable
Fri Oct 29 12:15:59 2010: Failed periodic query of IP address change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
Fri Oct 29 12:35:59 2010: Error 11 when resolving host name checkip.dyndns.org: Resource temporarily unavailable
Fri Oct 29 12:35:59 2010: Failed periodic query of IP address change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
Fri Oct 29 12:55:59 2010: Error 11 when resolving host name checkip.dyndns.org: Resource temporarily unavailable
Fri Oct 29 12:55:59 2010: Failed periodic query of IP address change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
Fri Oct 29 13:15:59 2010: Error 11 when resolving host name checkip.dyndns.org: Resource temporarily unavailable
Fri Oct 29 13:15:59 2010: Failed periodic query of IP address change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
from inadyn.
Huh, there you go, that's actually very enlightening! Thanks for the log.
I have another (unrelated) patch to merge anyway, so I'll look into at least logging the actual IP that fails to see if the DNS lookup returns the same IP every time, or whatever it is that's happening.
Btw, what OS/version are you running? Windows XX, Ubuntu YY, Fedora ZZ. other?
from inadyn.
OK, I've just released 1.97.2 with a few fixes and improved log output. Inadyn now displays the name and IP# of the checkip server it periodically connects to. If your OS and any DNS proxy is setup properly for DynDNS it should return a different IP every once in a while, if not every time.
Here is a sample run from my laptop:
Oct 30 17:40:20 luthien inadyn[23134]: Started 'INADYN version 1.97.2' - dynamic DNS updater.
Oct 30 17:40:20 luthien inadyn[23134]: Cached IP from previous invocation: 90.224.113.30
Oct 30 17:40:20 luthien inadyn[23134]: Checking for IP# change, connecting to checkip.dyndns.org(204.13.248.70)
Oct 30 17:40:21 luthien inadyn[23134]: No IP# change detected, still at 90.224.113.30
Oct 30 17:40:51 luthien inadyn[23134]: Checking for IP# change, connecting to checkip.dyndns.org(91.198.22.70)
Oct 30 17:40:51 luthien inadyn[23134]: No IP# change detected, still at 90.224.113.30
Oct 30 17:41:07 luthien ntpd[16636]: time reset +1.355841 s
Oct 30 17:41:22 luthien inadyn[23134]: Checking for IP# change, connecting to checkip.dyndns.org(91.198.22.70)
Oct 30 17:41:22 luthien inadyn[23134]: No IP# change detected, still at 90.224.113.30
Oct 30 17:41:52 luthien inadyn[23134]: Checking for IP# change, connecting to checkip.dyndns.org(204.13.248.70)
Oct 30 17:41:53 luthien inadyn[23134]: No IP# change detected, still at 90.224.113.30
Oct 30 17:42:23 luthien inadyn[23134]: Checking for IP# change, connecting to checkip.dyndns.org(91.198.22.70)
Oct 30 17:42:23 luthien inadyn[23134]: No IP# change detected, still at 90.224.113.30
Oct 30 17:42:53 luthien inadyn[23134]: Checking for IP# change, connecting to checkip.dyndns.org(91.198.22.71)
Oct 30 17:42:53 luthien inadyn[23134]: No IP# change detected, still at 90.224.113.30
Oct 30 17:43:23 luthien inadyn[23134]: Checking for IP# change, connecting to checkip.dyndns.org(91.198.22.70)
Oct 30 17:43:23 luthien inadyn[23134]: No IP# change detected, still at 90.224.113.30
Oct 30 17:43:53 luthien inadyn[23134]: Checking for IP# change, connecting to checkip.dyndns.org(204.13.248.70)
Oct 30 17:43:53 luthien inadyn[23134]: No IP# change detected, still at 90.224.113.30
Oct 30 17:44:24 luthien inadyn[23134]: Checking for IP# change, connecting to checkip.dyndns.org(204.13.248.70)
Oct 30 17:44:24 luthien inadyn[23134]: No IP# change detected, still at 90.224.113.30
Oct 30 17:44:54 luthien inadyn[23134]: Checking for IP# change, connecting to checkip.dyndns.org(91.198.22.71)
Oct 30 17:44:54 luthien inadyn[23134]: No IP# change detected, still at 90.224.113.30
Oct 30 17:45:24 luthien inadyn[23134]: Checking for IP# change, connecting to checkip.dyndns.org(91.198.22.70)
Oct 30 17:45:24 luthien inadyn[23134]: No IP# change detected, still at 90.224.113.30
Oct 30 17:45:54 luthien inadyn[23134]: Checking for IP# change, connecting to checkip.dyndns.org(91.198.22.70)
Oct 30 17:45:54 luthien inadyn[23134]: No IP# change detected, still at 90.224.113.30
Oct 30 17:46:24 luthien inadyn[23134]: Checking for IP# change, connecting to checkip.dyndns.org(204.13.248.70)
Oct 30 17:46:25 luthien inadyn[23134]: No IP# change detected, still at 90.224.113.30
Oct 30 17:46:55 luthien inadyn[23134]: Checking for IP# change, connecting to checkip.dyndns.org(91.198.22.71)
Oct 30 17:46:55 luthien inadyn[23134]: No IP# change detected, still at 90.224.113.30
Oct 30 17:47:25 luthien inadyn[23134]: Checking for IP# change, connecting to checkip.dyndns.org(91.198.22.71)
Oct 30 17:47:25 luthien inadyn[23134]: No IP# change detected, still at 90.224.113.30
Oct 30 17:47:55 luthien inadyn[23134]: Checking for IP# change, connecting to checkip.dyndns.org(204.13.248.70)
Oct 30 17:47:55 luthien inadyn[23134]: No IP# change detected, still at 90.224.113.30
Oct 30 17:48:26 luthien inadyn[23134]: Checking for IP# change, connecting to checkip.dyndns.org(91.198.22.71)
Oct 30 17:48:26 luthien inadyn[23134]: No IP# change detected, still at 90.224.113.30
Oct 30 17:48:56 luthien inadyn[23134]: Checking for IP# change, connecting to checkip.dyndns.org(204.13.248.70)
I hope this helps, if it doesn't then I strongly suspect that Inadyn is not to blame. Sorry.
from inadyn.
Here's a sample run with the RC_IP_RECV_ERROR, which it recovers from in the next iteration.
Oct 30 18:01:08 luthien inadyn[23134]: Checking for IP# change, connecting to checkip.dyndns.org(91.198.22.70)
Oct 30 18:01:08 luthien inadyn[23134]: No IP# change detected, still at 90.224.113.30
Oct 30 18:01:38 luthien inadyn[23134]: Checking for IP# change, connecting to checkip.dyndns.org(204.13.248.70)
Oct 30 18:01:58 luthien inadyn[23134]: Error 11 in recv(): Resource temporarily unavailable
Oct 30 18:01:58 luthien inadyn[23134]: Failed periodic query of IP address change. Error 'RC_IP_RECV_ERROR' (0x15)
Oct 30 18:02:28 luthien inadyn[23134]: Checking for IP# change, connecting to checkip.dyndns.org(91.198.22.71)
Oct 30 18:02:28 luthien inadyn[23134]: No IP# change detected, still at 90.224.113.30
Oct 30 18:02:58 luthien inadyn[23134]: Checking for IP# change, connecting to checkip.dyndns.org(91.198.22.70)
Oct 30 18:02:58 luthien inadyn[23134]: No IP# change detected, still at 90.224.113.30
Oct 30 18:03:29 luthien inadyn[23134]: Checking for IP# change, connecting to checkip.dyndns.org(91.198.22.70)
Oct 30 18:03:29 luthien inadyn[23134]: No IP# change detected, still at 90.224.113.30
from inadyn.
Unfortunately, it doesn't fix this problem for me. Here is the log
Sun Oct 31 07:16:54 2010: Started 'INADYN version 1.97.2' - dynamic DNS updater.
Sun Oct 31 07:16:54 2010: Failed resolving host name checkip.dyndns.org: Temporary failure in name resolution
Sun Oct 31 07:16:54 2010: Failed periodic query of IP address change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
Sun Oct 31 07:36:54 2010: Failed resolving host name checkip.dyndns.org: Temporary failure in name resolution
Sun Oct 31 07:36:54 2010: Failed periodic query of IP address change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
Sun Oct 31 07:56:55 2010: Failed resolving host name checkip.dyndns.org: Temporary failure in name resolution
Sun Oct 31 07:56:55 2010: Failed periodic query of IP address change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
Sun Oct 31 08:16:55 2010: Failed resolving host name checkip.dyndns.org: Temporary failure in name resolution
Sun Oct 31 08:16:55 2010: Failed periodic query of IP address change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
Sun Oct 31 08:36:55 2010: Failed resolving host name checkip.dyndns.org: Temporary failure in name resolution
Sun Oct 31 08:36:55 2010: Failed periodic query of IP address change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
Sun Oct 31 08:56:55 2010: Failed resolving host name checkip.dyndns.org: Temporary failure in name resolution
Sun Oct 31 08:56:55 2010: Failed periodic query of IP address change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
Sun Oct 31 09:16:55 2010: Failed resolving host name checkip.dyndns.org: Temporary failure in name resolution
Sun Oct 31 09:16:55 2010: Failed periodic query of IP address change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
Sun Oct 31 09:36:55 2010: Failed resolving host name checkip.dyndns.org: Temporary failure in name resolution
Sun Oct 31 09:36:55 2010: Failed periodic query of IP address change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
Sun Oct 31 09:56:55 2010: Failed resolving host name checkip.dyndns.org: Temporary failure in name resolution
Sun Oct 31 09:56:55 2010: Failed periodic query of IP address change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
Sun Oct 31 10:16:55 2010: Failed resolving host name checkip.dyndns.org: Temporary failure in name resolution
Sun Oct 31 10:16:55 2010: Failed periodic query of IP address change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
Sun Oct 31 10:36:56 2010: Failed resolving host name checkip.dyndns.org: Temporary failure in name resolution
Sun Oct 31 10:36:56 2010: Failed periodic query of IP address change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
Sun Oct 31 10:56:56 2010: Failed resolving host name checkip.dyndns.org: Temporary failure in name resolution
Sun Oct 31 10:56:56 2010: Failed periodic query of IP address change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
Sun Oct 31 11:16:56 2010: Failed resolving host name checkip.dyndns.org: Temporary failure in name resolution
Sun Oct 31 11:16:56 2010: Failed periodic query of IP address change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
Sun Oct 31 11:36:56 2010: Failed resolving host name checkip.dyndns.org: Temporary failure in name resolution
Sun Oct 31 11:36:56 2010: Failed periodic query of IP address change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
Sun Oct 31 11:56:56 2010: Failed resolving host name checkip.dyndns.org: Temporary failure in name resolution
Sun Oct 31 11:56:56 2010: Failed periodic query of IP address change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
Sun Oct 31 12:16:56 2010: Failed resolving host name checkip.dyndns.org: Temporary failure in name resolution
Sun Oct 31 12:16:56 2010: Failed periodic query of IP address change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
Sun Oct 31 12:36:56 2010: Failed resolving host name checkip.dyndns.org: Temporary failure in name resolution
Sun Oct 31 12:36:56 2010: Failed periodic query of IP address change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
Sun Oct 31 12:56:56 2010: Failed resolving host name checkip.dyndns.org: Temporary failure in name resolution
Sun Oct 31 12:56:56 2010: Failed periodic query of IP address change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
Sun Oct 31 13:16:56 2010: Failed resolving host name checkip.dyndns.org: Temporary failure in name resolution
Sun Oct 31 13:16:56 2010: Failed periodic query of IP address change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
Sun Oct 31 13:36:57 2010: Failed resolving host name checkip.dyndns.org: Temporary failure in name resolution
Sun Oct 31 13:36:57 2010: Failed periodic query of IP address change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
Sun Oct 31 13:56:57 2010: Failed resolving host name checkip.dyndns.org: Temporary failure in name resolution
Sun Oct 31 13:56:57 2010: Failed periodic query of IP address change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
Sun Oct 31 14:16:57 2010: Failed resolving host name checkip.dyndns.org: Temporary failure in name resolution
Sun Oct 31 14:16:57 2010: Failed periodic query of IP address change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
Sun Oct 31 14:36:57 2010: Failed resolving host name checkip.dyndns.org: Temporary failure in name resolution
Sun Oct 31 14:36:57 2010: Failed periodic query of IP address change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
Sun Oct 31 14:56:57 2010: Failed resolving host name checkip.dyndns.org: Temporary failure in name resolution
Sun Oct 31 14:56:57 2010: Failed periodic query of IP address change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
Sun Oct 31 15:16:57 2010: Failed resolving host name checkip.dyndns.org: Temporary failure in name resolution
Sun Oct 31 15:16:57 2010: Failed periodic query of IP address change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
Sun Oct 31 15:36:57 2010: Failed resolving host name checkip.dyndns.org: Temporary failure in name resolution
Sun Oct 31 15:36:57 2010: Failed periodic query of IP address change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
Sun Oct 31 15:56:58 2010: Failed resolving host name checkip.dyndns.org: Temporary failure in name resolution
Sun Oct 31 15:56:58 2010: Failed periodic query of IP address change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
Sun Oct 31 16:16:58 2010: Failed resolving host name checkip.dyndns.org: Temporary failure in name resolution
Sun Oct 31 16:16:58 2010: Failed periodic query of IP address change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
from inadyn.
Hmm, like I said above. I'm really not sure inadyn is to blame -- as I show in my run above the DNS lookup returns a different IP# for checkip.dyndns.org every time. So it's either an OS issue or a DNS proxy in your gateway, or something. Which leads me back to an earlier question I posted: what OS/version are you running? Windows XX, Ubuntu YY, Fedora ZZ. other? Also, what kind of (home) router are you using to connect to the Internet?
On my system, I can use the tool 'dig' to query name servers. It's a quite useful tool, look here:
$ dig checkip.dyndns.org
;; [snip]
;; ANSWER SECTION:
checkip.dyndns.org. 43 IN CNAME checkip.dyndns.com.
checkip.dyndns.com. 590 IN A 91.198.22.70
checkip.dyndns.com. 590 IN A 91.198.22.71
checkip.dyndns.com. 590 IN A 204.13.248.70
;; [snip]
A dig run on your system whould be very useful at this point. Thanks!
from inadyn.
I'm using archlinux. My internet service provider is verizon dsl. I'm using one of their modem/router device Westell 7500. I do not use any proxy. I installed the "dig" program (for archlinux, it is in dnsutils package) and got a similar response to yours.
;; QUESTION SECTION:
;checkip.dyndns.com. IN A
;; ANSWER SECTION:
checkip.dyndns.com. 216 IN A 204.13.248.70
checkip.dyndns.com. 216 IN A 91.198.22.70
checkip.dyndns.com. 216 IN A 91.198.22.71
from inadyn.
OK, I've been reading up a bit more on this now and it seems dig queries the DNS directly, whereas inadyn uses the standard getaddrinfo() C API, which in turn depends on the system's services, like nscd or similar. Do you have nscd installed?
A better check seems to be to use getent. A run on my system gives:
$ getent hosts checkip.dyndns.org
204.13.248.70 checkip.dyndns.com checkip.dyndns.org
91.198.22.70 checkip.dyndns.com checkip.dyndns.org
91.198.22.71 checkip.dyndns.com checkip.dyndns.org
I don't have nscd installed on my Ubuntu 10.10 setup. In fact, all Debian based systems seem to have nscd disabled by default these days, due to this it seems.
from inadyn.
nscd is installed. Running nscd show the following errors:
$ sudo nscd -d
Mon 01 Nov 2010 01:52:41 PM EDT - 24943: cannot create /var/db/nscd/passwd; no persistent database used
Mon 01 Nov 2010 01:52:41 PM EDT - 24943: cannot create /var/db/nscd/group; no persistent database used
Mon 01 Nov 2010 01:52:41 PM EDT - 24943: cannot create /var/db/nscd/hosts; no persistent database used
Mon 01 Nov 2010 01:52:41 PM EDT - 24943: cannot create /var/db/nscd/services; no persistent database used
Mon 01 Nov 2010 01:52:41 PM EDT - 24943: /var/run/nscd/socket: No such file or directory
getent produces the following result on my system:
$ getent hosts checkip.dyndns.com
91.198.22.71 checkip.dyndns.com
91.198.22.70 checkip.dyndns.com
204.13.248.70 checkip.dyndns.com
If nscd is not installed on your system, what does inadyn use to get address info?
from inadyn.
Inadyn uses the standard getaddrinfo() C API. That API is provided by Glibc, or EGLIBC (depending on your GNU/Linux distribution), or another C library if you're on *BSD or an actual UNIX installation.
These libraries can, on a per application basis, cache DNS requests if that is enabled. This caching service is usually provided by nscd. However, nscd can be configured to only cache some data or tuned to only retain the cache for a certain amount of time. When the cache becomes stale, or if DNS caching is disabled, or if nscd is not even installed, the C library does an actual DNS lookup.
So, have you tried uninstalling nscd?
from inadyn.
There is a DD-WRT patch that might fix this. It seems to be related to this libc bug.
I will merge that now and start testing it. If all goes well I will put out (yet) another release tomorrow.
from inadyn.
OK, I actually managed to test it all tonight! If at all possible it would be really great if you could test 1.97.4 to see if that finally fixes this problem for you.
from inadyn.
I was going to let you know that I removed nscd but it didn't make any difference. I will test 1.97.4. Thanks.
from inadyn.
It looks like 1.97.4 fix this issue. Here is the latest log.
$ cat /var/log/inadyn.log
Wed Nov 3 07:53:12 2010: Started 'Inadyn version 1.97.4' - dynamic DNS updater.
Wed Nov 3 07:53:12 2010: Failed resolving host name checkip.dyndns.org: Temporary failure in name resolution
Wed Nov 3 07:53:12 2010: Failed periodic query of IP# change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
Wed Nov 3 08:13:13 2010: Checking for IP# change, connecting to checkip.dyndns.org(91.198.22.70)
Wed Nov 3 08:13:14 2010: IP# for alias 'some.dyndns.domain' needs update to '10.1.39.130'
Wed Nov 3 08:13:14 2010: Updating DDNS server with new IP#, connecting to members.dyndns.org(204.13.248.112)
Wed Nov 3 08:13:14 2010: Alias 'some.dyndns.domain' to IP# '10.1.39.130' updated successfully.
Wed Nov 3 08:33:15 2010: Checking for IP# change, connecting to checkip.dyndns.org(91.198.22.70)
Wed Nov 3 08:33:16 2010: No IP# change detected, still at 10.1.39.130
Wed Nov 3 08:53:16 2010: Checking for IP# change, connecting to checkip.dyndns.org(204.13.248.70)
Wed Nov 3 08:53:16 2010: No IP# change detected, still at 10.1.39.130
Wed Nov 3 09:13:16 2010: Checking for IP# change, connecting to checkip.dyndns.org(204.13.248.70)
Wed Nov 3 09:13:16 2010: No IP# change detected, still at 10.1.39.130
Wed Nov 3 09:33:17 2010: Checking for IP# change, connecting to checkip.dyndns.org(91.198.22.70)
Wed Nov 3 09:33:37 2010: Error 11 in recv(): Resource temporarily unavailable
Wed Nov 3 09:33:37 2010: Failed periodic query of IP# change. Error 'RC_IP_RECV_ERROR' (0x15)
Wed Nov 3 09:53:37 2010: Failed resolving host name checkip.dyndns.org: Temporary failure in name resolution
Wed Nov 3 09:53:37 2010: Failed periodic query of IP# change. Error 'RC_IP_INVALID_REMOTE_ADDR' (0x12)
from inadyn.
Fantastic! Thank you SO much for hanging in there and helping me test this! :-)
I guess it's OK now to close this issue?!
from inadyn.
It's still looking good :) I think you can go ahead and close this issue. Thanks for maintaining and working on the problems.
from inadyn.
Related Issues (20)
- Desec fails to update IPv4 and IPv6 simultaneously and returns error HOT 11
- -
- Add Cpanel
- DNSExit.com present for updating DDNS no longer functions as of sometime after November 20th 2023. HOT 4
- Period not to find in logs HOT 3
- does not time out HOT 2
- [Feature request] Add logging level to logs
- inadyn stop period refresh after several fail
- [Bug] `Error running 'INADYN_PROVIDER="[email protected]"` HOT 8
- FEATURE REQUEST: Add support to execute a bash script on IP address change (passing the new IP to the script) HOT 1
- never connects to APIs?
- Failure running Docker image? HOT 5
- Missing .conf file, and can not create a new one HOT 2
- ddns-server like username:[email protected] cant work HOT 2
- wrong ddns server for [email protected] HOT 2
- "Building from GIT" is broken? HOT 3
- Main process exited when get error response from DDNS server HOT 1
- pokbun API does not work, leaks secret key in debug logs HOT 2
- Caching issues (dual stack) and forced updates
- Variables for update of ipv6prefix and ipv6 on dynv6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from inadyn.