Tried to configure DDNS via the GUI of Alt-F 1.0 to use DuckDNS.org. Didn't work at first, found the solutionand thought about sharing here to help others having a similar issue, and maybe improve a future release of Alt-F
First a couple of caveats and suggestions:
- The hash for the duckdns account needs to be input into the "username", not in "password". This is a inadyn-mt plugin problem, not Alt-F, but maybe useful to know as it is not so obvious.
- The Alt-F GUI requires the "password" field to be set nonethless, which in the case of duckdns.org is not used anyway. Maybe worth to change that validation rule and make the password field optional in the GUI?
- The Alt-F GUI writes the DDNS config out into /etc/inadyn.conf while actually the cross platform inadyn-mt is used by Alt-F, and not "godo old" inadyn. This causes confusion while searching for "man inadyn.conf", as many references will describing another file format than the one used by inadyn-mt. The manpage of inadyn-mt suggest the default config file to be called /etc/inadyn-mt.conf, maybe worth it to change the conf file generated by the Alt-F GUI to /etc/inadyn-mt.conf?
Even with proper duckdns settings in the /etc/inadyn.conf the service doesn't start in the GUI (starts and stops immediately), without any error in the logs even in verbose mode. Launching inadyn-mt via command line with
inadyn-mt --verbose 9 --input_file /etc/inadyn.conf
resulted in an error:
W:LANG: Cannot open language file. Will use english defaults, or default override (--lang_file <path/file_name>...)
S:INADYN: Could not open default servers_additional.cfg. Will try svr_add_cfg option, if set...
W:GETCMD: Error parsing option 6 ('--dyndns_system')
SYNOPSIS
[... full inadyn-mt synposis....]
W:MAIN: Main: Error 'RC_DYNDNS_INVALID_OPTION' (0x44).