Hving a few issues on getting ddns service to run. I have a custom url that works:
(I have deliberately split the url across 2 lines so that it is clearly visible)
http://api.dynu.com/nic/update?username=
_USER_&password=_PASSWORD_&location={mylocation}
The "{mylocation}" is a specific code that updates all the domains registered for this location in one call. When sent via a browser this generates the response "nochg", which is to be expected.
On configuring this in the ddns setup, everything works and the entry is created successfully, except the entry is labelled as "disconnected" and does not run on schedule.
Also, the provider prefers a port of 8245. I'm not sure how to incorporate this into the setup. (port 80 is ok, but would rather use the prefered port as setup on our alternative Windows machine.)
NB: tested on both 5.1.95 and 6.0Beta.
DDNS not running (custom url)
DDNS not running (custom url)
F5-221 5.1.123, 8GB System Partition on 3 x 4TB Traid; 3TB EXT4
F2-221 TOS6 (Beta), 8GB System Partition on 2 x 6TB in Traid. (Latest Update 11/04/24)
F2-221 TOS6 (Beta), 8GB System Partition on 2 x 6TB in Traid. (Latest Update 11/04/24)
Re: DDNS not running (custom url)
Small update:
On 5.1.95 the "last call" and "next call" are updating but not while the screen is active. Only apparent when I close and then later return to the dialogue. (WAN IP is accurate)
On 6.0.108 the "last call" and "WAN IP" are not updating. "Next Call" time is updating.
QUESTION: Is there a log (or logs) that I can investigate to see if the calls are actually being made and return data.
Thank you
On 5.1.95 the "last call" and "next call" are updating but not while the screen is active. Only apparent when I close and then later return to the dialogue. (WAN IP is accurate)
On 6.0.108 the "last call" and "WAN IP" are not updating. "Next Call" time is updating.
QUESTION: Is there a log (or logs) that I can investigate to see if the calls are actually being made and return data.
Thank you
F5-221 5.1.123, 8GB System Partition on 3 x 4TB Traid; 3TB EXT4
F2-221 TOS6 (Beta), 8GB System Partition on 2 x 6TB in Traid. (Latest Update 11/04/24)
F2-221 TOS6 (Beta), 8GB System Partition on 2 x 6TB in Traid. (Latest Update 11/04/24)
Re: DDNS not running (custom url)
{L_BUTTON_AT}Gremlin
In TOSS 6.0, the DDNS last check time display problem is verified and will be modified in later versions. For DDNS connections, we recommend that you use an existing service provider on your system. To view the log, use this command :cat /var/log/tos/access.log
To contact our team, please send email to following addresses, remember to replace (at) with @
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
Re: DDNS not running (custom url)
OK, thanks. However, I can only use the service provider I have and you don't provide an option for them,! Not a lot of help, that. You give indications of how to enter a custom call, but now it seems that is an issue too.
I have looked at the logs and I do see an error (TOS6 for now) which is:
parse " http://api.dynu.com/nic/update?username ... &myip=_IP_": first path segment in URL cannot contain colon
The only colon is in "http://" so I presume this needs to be escaped. What is appropriate escape character or method.
Thanks again.
I have looked at the logs and I do see an error (TOS6 for now) which is:
parse " http://api.dynu.com/nic/update?username ... &myip=_IP_": first path segment in URL cannot contain colon
The only colon is in "http://" so I presume this needs to be escaped. What is appropriate escape character or method.
Thanks again.
F5-221 5.1.123, 8GB System Partition on 3 x 4TB Traid; 3TB EXT4
F2-221 TOS6 (Beta), 8GB System Partition on 2 x 6TB in Traid. (Latest Update 11/04/24)
F2-221 TOS6 (Beta), 8GB System Partition on 2 x 6TB in Traid. (Latest Update 11/04/24)
Re: DDNS not running (custom url)
From TOS5.1 log: (more detail)
Code: Select all
2023-12-05 14:29:16.000 [INFO] url before: http://api.dynu.com/nic/update?username=_USER_&password=_PASSWORD_&location=LyddsHill&myip=_IP_
2023-12-05 14:29:16.000 [INFO] url after: http://api.dynu.com/nic/update?username=_USER_&password=_PASSWORD_&location=LyddsHill&myip=_IP_
2023-12-05 14:29:16.000 [ERRO] 1. failed to new request
1). TOSDeamon/core/ddns/customupdater.(*CustomUpdater).update
/x86/PKGS-lk/Assembly/tosdeamon/core/ddns/customupdater/ddns_customupdater.go:74
2). TOSDeamon/core/ddns/customupdater.(*CustomUpdater).Apply
/x86/PKGS-lk/Assembly/tosdeamon/core/ddns/customupdater/ddns_customupdater.go:110
3). TOSDeamon/core/ddns/runner.(*Runner).Run
/x86/PKGS-lk/Assembly/tosdeamon/core/ddns/runner/runner.go:56
4). TOSDeamon/core/ddns/runner.(*Runner).Run2
/x86/PKGS-lk/Assembly/tosdeamon/core/ddns/runner/runner.go:61
5). main.serveHTTP.(*Cache).CheckCache.func7
/x86/PKGS-lk/Assembly/tosdeamon/core/ddns/cache/cache.go:28
6). main.serveHTTP.(*PublicIp).FixPublicIp.func8
/x86/PKGS-lk/Assembly/tosdeamon/core/ddns/publicip/publicip.go:28
7). main.serveHTTP.(*Logger).Log.func9
/x86/PKGS-lk/Assembly/tosdeamon/core/ddns/logger/logger.go:22
8). TOSDeamon/core/ddns/scheduler.(*Scheduler).addSchedule.(*Scheduler).run.func1
/x86/PKGS-lk/Assembly/tosdeamon/core/ddns/scheduler/scheduler.go:65
9). TOSDeamon/core/ddns/scheduler.(*Scheduler).addSchedule.(*Scheduler).run.(*Scheduler).canOnlyOneByOne.func2
/x86/PKGS-lk/Assembly/tosdeamon/core/ddns/scheduler/scheduler.go:55
10). github.com/robfig/cron/v3.FuncJob.Run
/root/go/pkg/mod/github.com/robfig/cron/v3@v3.0.1/cron.go:136
11). github.com/robfig/cron/v3.(*Cron).startJob.func1
/root/go/pkg/mod/github.com/robfig/cron/v3@v3.0.1/cron.go:312
2. parse " http://api.dynu.com/nic/update?username=_USER_&password=_PASSWORD_&location=LyddsHill&myip=_IP_": first path segment in URL cannot contain colon
Stack:
1. TOSDeamon/core/ddns/scheduler.(*Scheduler).addSchedule.(*Scheduler).run.func1
/x86/PKGS-lk/Assembly/tosdeamon/core/ddns/scheduler/scheduler.go:66
2. TOSDeamon/core/ddns/scheduler.(*Scheduler).addSchedule.(*Scheduler).run.(*Scheduler).canOnlyOneByOne.func2
/x86/PKGS-lk/Assembly/tosdeamon/core/ddns/scheduler/scheduler.go:55
3. github.com/robfig/cron/v3.FuncJob.Run
/root/go/pkg/mod/github.com/robfig/cron/v3@v3.0.1/cron.go:136
4. github.com/robfig/cron/v3.(*Cron).startJob.func1
/root/go/pkg/mod/github.com/robfig/cron/v3@v3.0.1/cron.go:312
F5-221 5.1.123, 8GB System Partition on 3 x 4TB Traid; 3TB EXT4
F2-221 TOS6 (Beta), 8GB System Partition on 2 x 6TB in Traid. (Latest Update 11/04/24)
F2-221 TOS6 (Beta), 8GB System Partition on 2 x 6TB in Traid. (Latest Update 11/04/24)
Re: DDNS not running (custom url)
FYI TOS5.1.95 - This works:
Would be nice to know where it is going wrong with the built in function(s).
Otherwise it needs some work to figure out the best options to get a workable logging system and controls defined.
Code: Select all
ter_wget "http://api.dynu.com/nic/update?username={myusername}&password={mypassword}&location={mylocation}"
Otherwise it needs some work to figure out the best options to get a workable logging system and controls defined.
F5-221 5.1.123, 8GB System Partition on 3 x 4TB Traid; 3TB EXT4
F2-221 TOS6 (Beta), 8GB System Partition on 2 x 6TB in Traid. (Latest Update 11/04/24)
F2-221 TOS6 (Beta), 8GB System Partition on 2 x 6TB in Traid. (Latest Update 11/04/24)