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

inadyn stop period refresh after several fail #470

Open
llllllllqq opened this issue Feb 2, 2024 · 1 comment
Open

inadyn stop period refresh after several fail #470

llllllllqq opened this issue Feb 2, 2024 · 1 comment

Comments

@llllllllqq
Copy link

llllllllqq commented Feb 2, 2024

My router had some problem so I reconfigured it, and the device behind the router which running inadyn lost connection for a long time. But after by router becoming normal and ip changed, the inadyn refused to work anymore.

Feb 02 15:08:34 rpi02w inadyn[672]: In-a-dyn version 2.10.0 -- Dynamic DNS update client.
Feb 02 16:49:37 rpi02w inadyn[672]: Update needed for alias fakemyddnsname.dynv6.net, new IP# 140.255.19.183
Feb 02 16:49:37 rpi02w inadyn[672]: Update needed for alias fakemyddnsname.dynamic-dns.net, new IP# 140.255.19.183
Feb 02 16:49:38 rpi02w inadyn[672]: Updating cache for fakemyddnsname.dynv6.net
Feb 02 16:49:39 rpi02w inadyn[672]: Updating cache for fakemyddnsname.dynamic-dns.net
Feb 02 16:59:42 rpi02w inadyn[672]: Update needed for alias fakemyddnsname.dynv6.net, new IP# 182.35.70.26
Feb 02 16:59:42 rpi02w inadyn[672]: Update needed for alias fakemyddnsname.dynamic-dns.net, new IP# 182.35.70.26
Feb 02 16:59:46 rpi02w inadyn[672]: Updating cache for fakemyddnsname.dynv6.net
Feb 02 16:59:47 rpi02w inadyn[672]: Updating cache for fakemyddnsname.dynamic-dns.net
Feb 02 17:05:07 rpi02w inadyn[672]: Failed resolving hostname checkip.dyndns.com: Temporary failure in name resolution
Feb 02 17:05:07 rpi02w inadyn[672]: Communication with checkip server checkip.dyndns.com failed, run again with 'inadyn -l debug' if problem persists
Feb 02 17:05:07 rpi02w inadyn[672]: Retrying with built-in 'default', api.ipify.org ...
Feb 02 17:05:18 rpi02w inadyn[672]: Failed resolving hostname api.ipify.org: Temporary failure in name resolution
Feb 02 17:05:18 rpi02w inadyn[672]: Failed to get IP address for [email protected], giving up!
Feb 02 17:05:18 rpi02w inadyn[672]: Failed resolving hostname ip.changeip.com: Temporary failure in name resolution
Feb 02 17:05:18 rpi02w inadyn[672]: Communication with checkip server ip.changeip.com failed, run again with 'inadyn -l debug' if problem persists
Feb 02 17:05:18 rpi02w inadyn[672]: Retrying with built-in 'default', api.ipify.org ...
Feb 02 17:05:18 rpi02w inadyn[672]: Failed resolving hostname api.ipify.org: Temporary failure in name resolution
Feb 02 17:05:18 rpi02w inadyn[672]: Failed to get IP address for [email protected], giving up!
Feb 02 17:05:18 rpi02w inadyn[672]: Update needed for alias fakemyddnsname.dynv6.net, new IP# 182.35.70.26
Feb 02 17:05:18 rpi02w inadyn[672]: Update needed for alias fakemyddnsname.dynamic-dns.net, new IP# 182.35.70.26
Feb 02 17:05:18 rpi02w inadyn[672]: Failed resolving hostname ipv4.dynv6.com: Temporary failure in name resolution
Feb 02 17:05:19 rpi02w inadyn[672]: Failed resolving hostname nic.changeip.com: Temporary failure in name resolution
Feb 02 17:10:19 rpi02w inadyn[672]: Failed resolving hostname checkip.dyndns.com: Temporary failure in name resolution
Feb 02 17:10:19 rpi02w inadyn[672]: Communication with checkip server checkip.dyndns.com failed, run again with 'inadyn -l debug' if problem persists
Feb 02 17:10:19 rpi02w inadyn[672]: Retrying with built-in 'default', api.ipify.org ...
Feb 02 17:10:19 rpi02w inadyn[672]: Failed resolving hostname api.ipify.org: Temporary failure in name resolution
Feb 02 17:10:19 rpi02w inadyn[672]: Failed to get IP address for [email protected], giving up!
Feb 02 17:10:19 rpi02w inadyn[672]: Failed resolving hostname ip.changeip.com: Temporary failure in name resolution
Feb 02 17:10:19 rpi02w inadyn[672]: Communication with checkip server ip.changeip.com failed, run again with 'inadyn -l debug' if problem persists
Feb 02 17:10:19 rpi02w inadyn[672]: Retrying with built-in 'default', api.ipify.org ...
Feb 02 17:10:19 rpi02w inadyn[672]: Failed resolving hostname api.ipify.org: Temporary failure in name resolution
Feb 02 17:10:19 rpi02w inadyn[672]: Failed to get IP address for [email protected], giving up!
Feb 02 17:10:19 rpi02w inadyn[672]: Update forced for alias fakemyddnsname.dynv6.net, new IP# 182.35.70.26
Feb 02 17:10:19 rpi02w inadyn[672]: Update forced for alias fakemyddnsname.dynamic-dns.net, new IP# 182.35.70.26
Feb 02 17:10:19 rpi02w inadyn[672]: Failed resolving hostname ipv4.dynv6.com: Temporary failure in name resolution
Feb 02 17:10:19 rpi02w inadyn[672]: Failed resolving hostname nic.changeip.com: Temporary failure in name resolution
Feb 02 17:15:21 rpi02w inadyn[672]: Update forced for alias fakemyddnsname.dynv6.net, new IP# 182.35.70.26
Feb 02 17:15:21 rpi02w inadyn[672]: Update forced for alias fakemyddnsname.dynamic-dns.net, new IP# 182.35.70.26
Feb 02 17:15:22 rpi02w inadyn[672]: Updating cache for fakemyddnsname.dynv6.net

Now it's Feb 02 19:08, my ip has changed and differed from value in cache, but inadyn showed nothing new since the last line above.

System: Linux rpi02w 6.1.0-rpi8-rpi-v7 #1 SMP Raspbian 1:6.1.73-1+rpt1 (2024-01-25) armv7l GNU/Linux

conf:

period = 300
forced-update = 259200
allow-ipv6 = false
secure-ssl = false
broken-rtc = true
provider [email protected]:1 {
  ssl = true
  wildcard = false
  username = "****@****.com"
  password = "****"
  hostname = { "****.dynamic-dns.net" }
}
provider [email protected]:2 {
  ssl = true
  wildcard = false
  username = "****"
  password = "****"
  hostname = "****.dynv6.net"
}
@Galen007
Copy link

Galen007 commented Jun 10, 2024

same problem here with this config:

period = 60
provider [email protected] {
        username        = *********
        password        = *********
        ssl             = true
        hostname        = {"*********.spdns.org", "*********.spdns.de"}
        checkip-command = external-ip
}

seems to be a similar problem. log:

Jun 10 05:48:14 fileserver inadyn[1906]: Failed resolving hostname checkip4.spdyn.de: Name or service not known
Jun 10 05:48:14 fileserver inadyn[1906]: Communication with checkip server checkip4.spdyn.de failed, run again with 'inadyn -l debug' if problem persists
Jun 10 05:48:14 fileserver inadyn[1906]: Retrying with built-in 'default', api.ipify.org ...
Jun 10 05:48:47 fileserver inadyn[1906]: Failed resolving hostname api.ipify.org: Name or service not known
Jun 10 05:48:47 fileserver inadyn[1906]: Failed to get IP address for [email protected], giving up!
Jun 10 05:49:47 fileserver inadyn[1906]: Error running 'INADYN_PROVIDER="[email protected]" INADYN_USER="*****************" external-ip': 0 bytes read
Jun 10 05:50:10 fileserver inadyn[1906]: Failed resolving hostname checkip4.spdyn.de: Name or service not known
Jun 10 05:50:10 fileserver inadyn[1906]: Communication with checkip server checkip4.spdyn.de failed, run again with 'inadyn -l debug' if problem persists
Jun 10 05:50:10 fileserver inadyn[1906]: Retrying with built-in 'default', api.ipify.org ...
Jun 10 05:50:43 fileserver inadyn[1906]: Failed resolving hostname api.ipify.org: Name or service not known
Jun 10 05:50:43 fileserver inadyn[1906]: Failed to get IP address for [email protected], giving up!
Jun 10 05:51:43 fileserver inadyn[1906]: Update needed for alias *****************.spdns.org, new IP# 80.130.164.79
Jun 10 05:51:43 fileserver inadyn[1906]: Update needed for alias *****************.spdns.de, new IP# 80.130.164.79
Jun 10 05:56:47 fileserver inadyn[1906]: Error running 'INADYN_PROVIDER="[email protected]" INADYN_USER="*****************" external-ip': 0 bytes read
Jun 10 05:57:10 fileserver inadyn[1906]: Failed resolving hostname checkip4.spdyn.de: Name or service not known
Jun 10 05:57:10 fileserver inadyn[1906]: Communication with checkip server checkip4.spdyn.de failed, run again with 'inadyn -l debug' if problem persists
Jun 10 05:57:10 fileserver inadyn[1906]: Retrying with built-in 'default', api.ipify.org ...
Jun 10 05:57:43 fileserver inadyn[1906]: Failed resolving hostname api.ipify.org: Name or service not known
Jun 10 05:57:43 fileserver inadyn[1906]: Failed to get IP address for [email protected], giving up!
Jun 10 05:58:43 fileserver inadyn[1906]: Error running 'INADYN_PROVIDER="[email protected]" INADYN_USER="*****************" external-ip': 0 bytes read
Jun 10 05:59:06 fileserver inadyn[1906]: Failed resolving hostname checkip4.spdyn.de: Name or service not known
Jun 10 05:59:06 fileserver inadyn[1906]: Communication with checkip server checkip4.spdyn.de failed, run again with 'inadyn -l debug' if problem persists
Jun 10 05:59:06 fileserver inadyn[1906]: Retrying with built-in 'default', api.ipify.org ...
Jun 10 05:59:39 fileserver inadyn[1906]: Failed resolving hostname api.ipify.org: Name or service not known
Jun 10 05:59:39 fileserver inadyn[1906]: Failed to get IP address for [email protected], giving up!
Jun 10 06:00:40 fileserver inadyn[1906]: Update needed for alias *****************.spdns.org, new IP# 84.137.211.194
Jun 10 06:00:40 fileserver inadyn[1906]: Update needed for alias *****************.spdns.de, new IP# 84.137.211.194

ip changed but it did not update and no additional loging until a manual daemon restart 10 hours later

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

2 participants