Dynamic DNS settings for no-ip?

Status
Not open for further replies.

manualmedia

Dabbler
Joined
Dec 30, 2014
Messages
15
I'm trying to configure the Dynamic DNS setting for use with no-ip.com, but just filling the Settings form out in the WebGUI isn't getting it. I fill the settings out, and get "The service could not be started." when I try to tick Dynamic DNS on.

I'm sure I'm just missing something simple, but can someone help me out with this config?
 

manualmedia

Dabbler
Joined
Dec 30, 2014
Messages
15
Anything related in /var/log/messages?

Dec 31 18:15:07 freenas notifier: inadynmt not running?
Dec 31 18:15:07 freenas notifier: Will not 'restart' inadynmt because inadynmt_enable is NO.
Dec 31 18:15:13 freenas notifier: inadynmt not running?
Dec 31 18:15:14 freenas notifier: inadynmt not running?
Dec 31 18:15:14 freenas notifier: Starting inadynmt.
Dec 31 18:15:14 freenas notifier: Wed Dec 31 18:15:14 2014: W:GETCMD: Invalid option name at position 8 ('INADYN_USERNAME=ryucloud')
Dec 31 18:15:14 freenas notifier:
Dec 31 18:15:14 freenas notifier:
Dec 31 18:15:14 freenas notifier:
Dec 31 18:15:14 freenas notifier: INADYN-MT Help
Dec 31 18:15:14 freenas notifier:
Dec 31 18:15:14 freenas notifier: INADYN-MT is a dynamic DNS client. That is, it maintains the IP address
Dec 31 18:15:14 freenas notifier: of a host name. It periodically checks whether the IP address of the current machine
Dec 31 18:15:14 freenas notifier: (the external visible IP address of the machine that runs INADYN) has changed.
Dec 31 18:15:14 freenas notifier: If yes it performs an update in the dynamic dns server.
Dec 31 18:15:14 freenas notifier:
Dec 31 18:15:14 freenas notifier: Typical usage:
Dec 31 18:15:14 freenas notifier: -for dyndns.org system:
Dec 31 18:15:14 freenas notifier: inadyn-mt -u username -p password -a my.registrated.name
Dec 31 18:15:14 freenas notifier: -for freedns.afraid.org:
Dec 31 18:15:14 freenas notifier: inadyn-mt --dyndns_system default@freedns.afraid.org -a my.registrated.name,hash -a anothername,hash2
Dec 31 18:15:14 freenas notifier: 'hash' is extracted from the grab url batch file that is downloaded from freedns.afraid.org
Dec 31 18:15:14 freenas notifier:
Dec 31 18:15:14 freenas notifier: Parameters:
Dec 31 18:15:14 freenas notifier: '--help': help
Dec 31 18:15:14 freenas notifier:
'-h': help
Dec 31 18:15:14 freenas notifier:
'--username': - your membername/hash
Dec 31 18:15:14 freenas notifier:
'-u': - your membername/hash
Dec 31 18:15:14 freenas notifier:
'--password': - your password. Optional.
Dec 31 18:15:14 freenas notifier:
'-p': - your password
Dec 31 18:15:14 freenas notifier:
'--alias': [,hash] [dual | coupled | ip4 | ip6 | auto] - alias host name, optional comma delimted hash, and optional ip version, default auto. This option can appear multiple times.
Dec 31 18:15:14 freenas notifier:
'-a': [,hash] [dual | coupled | ip4 | ip6 | auto] - alias host name, optional comma delimited hash, and optional ip version, default auto. This option can appear multiple times.
Dec 31 18:15:14 freenas notifier:
'--debug': <#> - debug level 0..7; higher number, more log debug messages.
Dec 31 18:15:14 freenas notifier:
'-d': <#> - debug level 0..7; higher number, more log debug messages.
Dec 31 18:15:14 freenas notifier:
'--input_file': - the file containing [further] inadyn options. The default config file, '/usr/local/etc/inadyn-mt.conf' is used if inadyn is called without any cmd line options. Input file options are inserted at point of this option's appearance.
Dec 31 18:15:14 freenas notifier:
'--ip_server_name': - local IP is detected by parsing the response after returned by this server and URL. The first IP in found http response is considered 'my IP'.
Dec 31 18:15:14 freenas notifier:
'--online_check_url': - URL to reach to confirm online status. Default value: google.com /
Dec 31 18:15:14 freenas notifier:
'--dyndns_server_name': [:port] - The server that receives the update DNS request. Allows the use of unknown DNS services that accept HTTP updates. If no proxy is wanted, then it is enough to set the dyndns system. The default servers will be taken.
Dec 31 18:15:14 freenas notifier:
'--dyndns_server_url': - full URL relative to DynDNS server root. Ex: /some_script.php?hostname=
Dec 31 18:15:14 freenas notifier:
'--dyndns_system': [NAME] - optional DYNDNS service type. SHOULD be one of the following:
Dec 31 18:15:14 freenas notifier: -For dyndns.org: dyndns@dyndns.org OR statdns@dyndns.org OR customdns@dyndns.org.
Dec 31 18:15:14 freenas notifier: -For freedns.afraid.org: default@freedns.afraid.org
Dec 31 18:15:14 freenas notifier: -For zoneedit.com: default@zoneedit.com
Dec 31 18:15:14 freenas notifier: -For no-ip.com: default@no-ip.com
Dec 31 18:15:14 freenas notifier: -For easydns.com: default@easydns.com
Dec 31 18:15:14 freenas notifier: -For 3322.org: dyndns@3322.org
Dec 31 18:15:14 freenas notifier: -For sitelutions.com: default@sitelutions.com
Dec 31 18:15:14 freenas notifier: -For dnsomatic.com: default@dnsomatic.com
Dec 31 18:15:14 freenas notifier: -For tunnelbroker.net: ipv6tb@he.net
Dec 31 18:15:14 freenas notifier: -For tzo.com: default@tzo.com
Dec 31 18:15:14 freenas notifier: -For dynsip.org: default@dynsip.org
Dec 31 18:15:14 freenas notifier: -For dhis.org: default@dhis.org
Dec 31 18:15:14 freenas notifier: -For majimoto.net: default@majimoto.net
Dec 31 18:15:14 freenas notifier: -For zerigo.com: default@zerigo.com
Dec 31 18:15:14 freenas notifier: -For two-dns.de: default@two-dns.de
Dec 31 18:15:14 freenas notifier: -For generic: custom@http_svr_basic_auth
Dec 31 18:15:14 freenas notifier: DEFAULT value: dyndns@dyndns.org
Dec 31 18:15:14 freenas notifier:
Dec 31 18:15:14 freenas notifier:
'--proxy_server': [NAME[:port]] - the http proxy server name and port. Default is none.
Dec 31 18:15:14 freenas notifier:
'--update_period': <#> - how often the IP is checked. The period is in [ms]. 30000..864000000. Default is about 10 min. Max is 10 days
Dec 31 18:15:14 freenas notifier:
'--update_period_sec': <#> - how often the IP is checked. The period is in [sec]. 30..864000. Default is about 10 min. Max is 10 days
Dec 31 18:15:14 freenas notifier:
'--forced_update_period': <#> - how often, in seconds, the IP is updated even if it is not changed. 30 sec..30 days, default, 30 days.
Dec 31 18:15:14 freenas notifier:
'--log_file': - log file path and name
Dec 31 18:15:14 freenas notifier:
'--background': run in background. output to log file or to syslog
Dec 31 18:15:14 freenas notifier:
'--verbose': <#> - set dbg level. 0 to 5
Dec 31 18:15:14 freenas notifier:
'--iterations': <#> - set the number of DNS updates. Default is 0, which means infinity.
Dec 31 18:15:14 freenas notifier:
'--syslog': force logging to syslog . (e.g. /var/log/mepossages). Works on **NIX systems only.
Dec 31 18:15:14 freenas notifier:
'--change_persona': - after init switch to a new user/group. Parameters: to change to. Works on **NIX systems only.
Dec 31 18:15:14 freenas notifier:
'--version': print the version number
Dec 31 18:15:14 freenas notifier:
Dec 31 18:15:14 freenas notifier:
'--exec': - external command to exec after an IP update. Include the full path.
Dec 31 18:15:14 freenas notifier:
'--cache_dir': - cache directory name. (e.g. /tmp/ddns). Defaults to /tmp on **NIX systems.
Dec 31 18:15:14 freenas notifier:
'--wildcard': enable domain wildcarding for dyndns.org, 3322.org, or easydns.com.
Dec 31 18:15:14 freenas notifier:
'--retries': <#> - network comm retry attempts. 0 to 100, default 0
Dec 31 18:15:14 freenas notifier:
'--retry_interval': <#> - network comm miliseconds retry interval. 0 to 30,000, default 1,000
Dec 31 18:15:14 freenas notifier:
'--retry_pending': <#> - retry ip update even after network comm retries exhausted, default on
Dec 31 18:15:14 freenas notifier:
'--retry_pending_interval': <#> - network comm seconds update retry interval, after retries exhausted. 5..3600, default 300
Dec 31 18:15:14 freenas notifier:
'--lang_file': [path/file] - language file path, and file name, defaults to either ../inadyn-mt/lang/en.lng, or etc/inadyn-mt/en.lng. Empty parameter option gives hard coded english defaults.
Dec 31 18:15:14 freenas notifier:
'--addr_pref': - ipv6 address preference for DDNS update. Defaults to pub.
Dec 31 18:15:14 freenas notifier:
Dec 31 18:15:14 freenas notifier:
Dec 31 18:15:14 freenas notifier:
Dec 31 18:15:14 freenas notifier: Wed Dec 31 18:15:14 2014: W:MAIN: Main: Error 'RC_CMD_PARSER_INVALID_OPTION' (0x50).
Dec 31 18:16:11 freenas notifier: inadynmt not running?
Dec 31 18:16:11 freenas notifier: Will not 'restart' inadynmt because inadynmt_enable is NO.
Dec 31 18:16:16 freenas notifier: inadynmt not running?
Dec 31 18:16:16 freenas notifier: inadynmt not running?

Not really sure how to interperate, but it looks like inadynmt isn't running which is the issue.

Also, for what it's worth, this is what my Dynamic DNS Settings looks like:

provider: no-ip.com
ip server: blank
domain name: blank
username: my no-ip username
password: my password
confirm password: ^
update period: 3600000
forced update period: blank
auxiliary parameters:
INADYN_USERNAME=my no-ip username
INADYN_PASSWORD=my password
INADYN_ALIAS=the hosts I'd like updated, seperated by commas
UPDATE_PERIOD=3600000
LOG_FILE_ON=1
LOG_NAME=/mnt/storage1/inadyn.log
DYN_SYSTEM_ON=1
DYN_SYSTEM=default@no-ip.com
 

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
So, I use the dyn.com service (dyndns.org). It works smoothly. One thing I've noticed: if you change ANYTHING in this screen, YOU HAVE TO RE-ENTER YOUR PASSWORDS.

But "the service could not be started" means that something more serious is afoot I think.

Try to drop to the shell, and do this: service inadyn start

and tell us what it says.
 

manualmedia

Dabbler
Joined
Dec 30, 2014
Messages
15
So, I use the dyn.com service (dyndns.org). It works smoothly. One thing I've noticed: if you change ANYTHING in this screen, YOU HAVE TO RE-ENTER YOUR PASSWORDS.

But "the service could not be started" means that something more serious is afoot I think.

Try to drop to the shell, and do this: service inadyn start

and tell us what it says.

So I ran service inadyn start and it returns with:

[root@freenas ~]# service inadyn start
inadyn does not exist in /etc/rc.d or the local startup
directories (/etc/ix.rc.d /usr/local/etc/rc.d)
(Also, thank you so much DrKK for taking the time to help me out!)
 

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
So I ran service inadyn start and it returns with:

[root@freenas ~]# service inadyn start
inadyn does not exist in /etc/rc.d or the local startup
directories (/etc/ix.rc.d /usr/local/etc/rc.d)
(Also, thank you so much DrKK for taking the time to help me out!)
My fault brother. I told you the wrong thing.

service inadyn-mt start

Forgot the mt
 

manualmedia

Dabbler
Joined
Dec 30, 2014
Messages
15
My fault brother. I told you the wrong thing.

service inadyn-mt start

Forgot the mt

[root@freenas ~]# service inadyn-mt start
Will not 'start' inadynmt because inadynmt_enable is NO.
[root@freenas ~]# sysrc inadynmt_enable=yes
inadynmt_enable: NO -> NO
Not sure what to do about that o.o
 

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
[root@freenas ~]# service inadyn-mt start
Will not 'start' inadynmt because inadynmt_enable is NO.
[root@freenas ~]# sysrc inadynmt_enable=yes
inadynmt_enable: NO -> NO
Not sure what to do about that o.o
that's normal. You can't change the sysrc on the appliance from the CLI.

are there any clues in /var/log/messages?
 

manualmedia

Dabbler
Joined
Dec 30, 2014
Messages
15
that's normal. You can't change the sysrc on the appliance from the CLI.

are there any clues in /var/log/messages?

Nothing different from what I posted up top, unless what I'm doing to retrieve these messages is wrong..

Dec 31 18:15:07 freenas notifier: inadynmt not running?
Dec 31 18:15:07 freenas notifier: Will not 'restart' inadynmt because inadynmt_enable is NO.
Dec 31 18:15:13 freenas notifier: inadynmt not running?
Dec 31 18:15:14 freenas notifier: inadynmt not running?
Dec 31 18:15:14 freenas notifier: Starting inadynmt.
Dec 31 18:15:14 freenas notifier: Wed Dec 31 18:15:14 2014: W:GETCMD: Invalid option name at position 8 ('INADYN_USERNAME=ryucloud')
Dec 31 18:15:14 freenas notifier:
Dec 31 18:15:14 freenas notifier:
Dec 31 18:15:14 freenas notifier:
Dec 31 18:15:14 freenas notifier: INADYN-MT Help
Dec 31 18:15:14 freenas notifier:
Dec 31 18:15:14 freenas notifier: INADYN-MT is a dynamic DNS client. That is, it maintains the IP address
Dec 31 18:15:14 freenas notifier: of a host name. It periodically checks whether the IP address of the current machine
Dec 31 18:15:14 freenas notifier: (the external visible IP address of the machine that runs INADYN) has changed.
Dec 31 18:15:14 freenas notifier: If yes it performs an update in the dynamic dns server.
Dec 31 18:15:14 freenas notifier:
Dec 31 18:15:14 freenas notifier: Typical usage:
Dec 31 18:15:14 freenas notifier: -for dyndns.org system:
Dec 31 18:15:14 freenas notifier: inadyn-mt -u username -p password -a my.registrated.name
Dec 31 18:15:14 freenas notifier: -for freedns.afraid.org:
Dec 31 18:15:14 freenas notifier: inadyn-mt --dyndns_system default@freedns.afraid.org -a my.registrated.name,hash -a anothername,hash2
Dec 31 18:15:14 freenas notifier: 'hash' is extracted from the grab url batch file that is downloaded from freedns.afraid.org
Dec 31 18:15:14 freenas notifier:
Dec 31 18:15:14 freenas notifier: Parameters:
Dec 31 18:15:14 freenas notifier: '--help': help
Dec 31 18:15:14 freenas notifier:
'-h': help
Dec 31 18:15:14 freenas notifier:
'--username': - your membername/hash
Dec 31 18:15:14 freenas notifier:
'-u': - your membername/hash
Dec 31 18:15:14 freenas notifier:
'--password': - your password. Optional.
Dec 31 18:15:14 freenas notifier:
'-p': - your password
Dec 31 18:15:14 freenas notifier:
'--alias': [,hash] [dual | coupled | ip4 | ip6 | auto] - alias host name, optional comma delimted hash, and optional ip version, default auto. This option can appear multiple times.
Dec 31 18:15:14 freenas notifier:
'-a': [,hash] [dual | coupled | ip4 | ip6 | auto] - alias host name, optional comma delimited hash, and optional ip version, default auto. This option can appear multiple times.
Dec 31 18:15:14 freenas notifier:
'--debug': <#> - debug level 0..7; higher number, more log debug messages.
Dec 31 18:15:14 freenas notifier:
'-d': <#> - debug level 0..7; higher number, more log debug messages.
Dec 31 18:15:14 freenas notifier:
'--input_file': - the file containing [further] inadyn options. The default config file, '/usr/local/etc/inadyn-mt.conf' is used if inadyn is called without any cmd line options. Input file options are inserted at point of this option's appearance.
Dec 31 18:15:14 freenas notifier:
'--ip_server_name': - local IP is detected by parsing the response after returned by this server and URL. The first IP in found http response is considered 'my IP'.
Dec 31 18:15:14 freenas notifier:
'--online_check_url': - URL to reach to confirm online status. Default value: google.com /
Dec 31 18:15:14 freenas notifier:
'--dyndns_server_name': [:port] - The server that receives the update DNS request. Allows the use of unknown DNS services that accept HTTP updates. If no proxy is wanted, then it is enough to set the dyndns system. The default servers will be taken.
Dec 31 18:15:14 freenas notifier:
'--dyndns_server_url': - full URL relative to DynDNS server root. Ex: /some_script.php?hostname=
Dec 31 18:15:14 freenas notifier:
'--dyndns_system': [NAME] - optional DYNDNS service type. SHOULD be one of the following:
Dec 31 18:15:14 freenas notifier: -For dyndns.org: dyndns@dyndns.org OR statdns@dyndns.org OR customdns@dyndns.org.
Dec 31 18:15:14 freenas notifier: -For freedns.afraid.org: default@freedns.afraid.org
Dec 31 18:15:14 freenas notifier: -For zoneedit.com: default@zoneedit.com
Dec 31 18:15:14 freenas notifier: -For no-ip.com: default@no-ip.com
Dec 31 18:15:14 freenas notifier: -For easydns.com: default@easydns.com
Dec 31 18:15:14 freenas notifier: -For 3322.org: dyndns@3322.org
Dec 31 18:15:14 freenas notifier: -For sitelutions.com: default@sitelutions.com
Dec 31 18:15:14 freenas notifier: -For dnsomatic.com: default@dnsomatic.com
Dec 31 18:15:14 freenas notifier: -For tunnelbroker.net: ipv6tb@he.net
Dec 31 18:15:14 freenas notifier: -For tzo.com: default@tzo.com
Dec 31 18:15:14 freenas notifier: -For dynsip.org: default@dynsip.org
Dec 31 18:15:14 freenas notifier: -For dhis.org: default@dhis.org
Dec 31 18:15:14 freenas notifier: -For majimoto.net: default@majimoto.net
Dec 31 18:15:14 freenas notifier: -For zerigo.com: default@zerigo.com
Dec 31 18:15:14 freenas notifier: -For two-dns.de: default@two-dns.de
Dec 31 18:15:14 freenas notifier: -For generic: custom@http_svr_basic_auth
Dec 31 18:15:14 freenas notifier: DEFAULT value: dyndns@dyndns.org
Dec 31 18:15:14 freenas notifier:
Dec 31 18:15:14 freenas notifier:
'--proxy_server': [NAME[:port]] - the http proxy server name and port. Default is none.
Dec 31 18:15:14 freenas notifier:
'--update_period': <#> - how often the IP is checked. The period is in [ms]. 30000..864000000. Default is about 10 min. Max is 10 days
Dec 31 18:15:14 freenas notifier:
'--update_period_sec': <#> - how often the IP is checked. The period is in [sec]. 30..864000. Default is about 10 min. Max is 10 days
Dec 31 18:15:14 freenas notifier:
'--forced_update_period': <#> - how often, in seconds, the IP is updated even if it is not changed. 30 sec..30 days, default, 30 days.
Dec 31 18:15:14 freenas notifier:
'--log_file': - log file path and name
Dec 31 18:15:14 freenas notifier:
'--background': run in background. output to log file or to syslog
Dec 31 18:15:14 freenas notifier:
'--verbose': <#> - set dbg level. 0 to 5
Dec 31 18:15:14 freenas notifier:
'--iterations': <#> - set the number of DNS updates. Default is 0, which means infinity.
Dec 31 18:15:14 freenas notifier:
'--syslog': force logging to syslog . (e.g. /var/log/mepossages). Works on **NIX systems only.
Dec 31 18:15:14 freenas notifier:
'--change_persona': - after init switch to a new user/group. Parameters: to change to. Works on **NIX systems only.
Dec 31 18:15:14 freenas notifier:
'--version': print the version number
Dec 31 18:15:14 freenas notifier:
Dec 31 18:15:14 freenas notifier:
'--exec': - external command to exec after an IP update. Include the full path.
Dec 31 18:15:14 freenas notifier:
'--cache_dir': - cache directory name. (e.g. /tmp/ddns). Defaults to /tmp on **NIX systems.
Dec 31 18:15:14 freenas notifier:
'--wildcard': enable domain wildcarding for dyndns.org, 3322.org, or easydns.com.
Dec 31 18:15:14 freenas notifier:
'--retries': <#> - network comm retry attempts. 0 to 100, default 0
Dec 31 18:15:14 freenas notifier:
'--retry_interval': <#> - network comm miliseconds retry interval. 0 to 30,000, default 1,000
Dec 31 18:15:14 freenas notifier:
'--retry_pending': <#> - retry ip update even after network comm retries exhausted, default on
Dec 31 18:15:14 freenas notifier:
'--retry_pending_interval': <#> - network comm seconds update retry interval, after retries exhausted. 5..3600, default 300
Dec 31 18:15:14 freenas notifier:
'--lang_file': [path/file] - language file path, and file name, defaults to either ../inadyn-mt/lang/en.lng, or etc/inadyn-mt/en.lng. Empty parameter option gives hard coded english defaults.
Dec 31 18:15:14 freenas notifier:
'--addr_pref': - ipv6 address preference for DDNS update. Defaults to pub.
Dec 31 18:15:14 freenas notifier:
Dec 31 18:15:14 freenas notifier:
Dec 31 18:15:14 freenas notifier:
Dec 31 18:15:14 freenas notifier: Wed Dec 31 18:15:14 2014: W:MAIN: Main: Error 'RC_CMD_PARSER_INVALID_OPTION' (0x50).
Dec 31 18:16:11 freenas notifier: inadynmt not running?
Dec 31 18:16:11 freenas notifier: Will not 'restart' inadynmt because inadynmt_enable is NO.
Dec 31 18:16:16 freenas notifier: inadynmt not running?
Dec 31 18:16:16 freenas notifier: inadynmt not running?
 

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
Looking into this. Give me a minute.

Worst case scenario? I let you have one of my dyn.com slots. They gave me 30. I only need like 5.
 

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
Nothing different from what I posted up top, unless what I'm doing to retrieve these messages is wrong..

Dec 31 18:15:07 freenas notifier: inadynmt not running?
Dec 31 18:15:07 freenas notifier: Will not 'restart' inadynmt because inadynmt_enable is NO.
Dec 31 18:15:13 freenas notifier: inadynmt not running?
Dec 31 18:15:14 freenas notifier: inadynmt not running?
Dec 31 18:15:14 freenas notifier: Starting inadynmt.
Dec 31 18:15:14 freenas notifier: Wed Dec 31 18:15:14 2014: W:GETCMD: Invalid option name at position 8 ('INADYN_USERNAME=ryucloud')
Dec 31 18:15:14 freenas notifier:
Dec 31 18:15:14 freenas notifier:
Dec 31 18:15:14 freenas notifier:
Dec 31 18:15:14 freenas notifier: INADYN-MT Help
Dec 31 18:15:14 freenas notifier:
Dec 31 18:15:14 freenas notifier: INADYN-MT is a dynamic DNS client. That is, it maintains the IP address
Dec 31 18:15:14 freenas notifier: of a host name. It periodically checks whether the IP address of the current machine
Dec 31 18:15:14 freenas notifier: (the external visible IP address of the machine that runs INADYN) has changed.
Dec 31 18:15:14 freenas notifier: If yes it performs an update in the dynamic dns server.
Dec 31 18:15:14 freenas notifier:
Dec 31 18:15:14 freenas notifier: Typical usage:
Dec 31 18:15:14 freenas notifier: -for dyndns.org system:
Dec 31 18:15:14 freenas notifier: inadyn-mt -u username -p password -a my.registrated.name
Dec 31 18:15:14 freenas notifier: -for freedns.afraid.org:
Dec 31 18:15:14 freenas notifier: inadyn-mt --dyndns_system default@freedns.afraid.org -a my.registrated.name,hash -a anothername,hash2
Dec 31 18:15:14 freenas notifier: 'hash' is extracted from the grab url batch file that is downloaded from freedns.afraid.org
Dec 31 18:15:14 freenas notifier:
Dec 31 18:15:14 freenas notifier: Parameters:
Dec 31 18:15:14 freenas notifier: '--help': help
Dec 31 18:15:14 freenas notifier:
'-h': help
Dec 31 18:15:14 freenas notifier:
'--username': - your membername/hash
Dec 31 18:15:14 freenas notifier:
'-u': - your membername/hash
Dec 31 18:15:14 freenas notifier:
'--password': - your password. Optional.
Dec 31 18:15:14 freenas notifier:
'-p': - your password
Dec 31 18:15:14 freenas notifier:
'--alias': [,hash] [dual | coupled | ip4 | ip6 | auto] - alias host name, optional comma delimted hash, and optional ip version, default auto. This option can appear multiple times.
Dec 31 18:15:14 freenas notifier:
'-a': [,hash] [dual | coupled | ip4 | ip6 | auto] - alias host name, optional comma delimited hash, and optional ip version, default auto. This option can appear multiple times.
Dec 31 18:15:14 freenas notifier:
'--debug': <#> - debug level 0..7; higher number, more log debug messages.
Dec 31 18:15:14 freenas notifier:
'-d': <#> - debug level 0..7; higher number, more log debug messages.
Dec 31 18:15:14 freenas notifier:
'--input_file': - the file containing [further] inadyn options. The default config file, '/usr/local/etc/inadyn-mt.conf' is used if inadyn is called without any cmd line options. Input file options are inserted at point of this option's appearance.
Dec 31 18:15:14 freenas notifier:
'--ip_server_name': - local IP is detected by parsing the response after returned by this server and URL. The first IP in found http response is considered 'my IP'.
Dec 31 18:15:14 freenas notifier:
'--online_check_url': - URL to reach to confirm online status. Default value: google.com /
Dec 31 18:15:14 freenas notifier:
'--dyndns_server_name': [:port] - The server that receives the update DNS request. Allows the use of unknown DNS services that accept HTTP updates. If no proxy is wanted, then it is enough to set the dyndns system. The default servers will be taken.
Dec 31 18:15:14 freenas notifier:
'--dyndns_server_url': - full URL relative to DynDNS server root. Ex: /some_script.php?hostname=
Dec 31 18:15:14 freenas notifier:
'--dyndns_system': [NAME] - optional DYNDNS service type. SHOULD be one of the following:
Dec 31 18:15:14 freenas notifier: -For dyndns.org: dyndns@dyndns.org OR statdns@dyndns.org OR customdns@dyndns.org.
Dec 31 18:15:14 freenas notifier: -For freedns.afraid.org: default@freedns.afraid.org
Dec 31 18:15:14 freenas notifier: -For zoneedit.com: default@zoneedit.com
Dec 31 18:15:14 freenas notifier: -For no-ip.com: default@no-ip.com
Dec 31 18:15:14 freenas notifier: -For easydns.com: default@easydns.com
Dec 31 18:15:14 freenas notifier: -For 3322.org: dyndns@3322.org
Dec 31 18:15:14 freenas notifier: -For sitelutions.com: default@sitelutions.com
Dec 31 18:15:14 freenas notifier: -For dnsomatic.com: default@dnsomatic.com
Dec 31 18:15:14 freenas notifier: -For tunnelbroker.net: ipv6tb@he.net
Dec 31 18:15:14 freenas notifier: -For tzo.com: default@tzo.com
Dec 31 18:15:14 freenas notifier: -For dynsip.org: default@dynsip.org
Dec 31 18:15:14 freenas notifier: -For dhis.org: default@dhis.org
Dec 31 18:15:14 freenas notifier: -For majimoto.net: default@majimoto.net
Dec 31 18:15:14 freenas notifier: -For zerigo.com: default@zerigo.com
Dec 31 18:15:14 freenas notifier: -For two-dns.de: default@two-dns.de
Dec 31 18:15:14 freenas notifier: -For generic: custom@http_svr_basic_auth
Dec 31 18:15:14 freenas notifier: DEFAULT value: dyndns@dyndns.org
Dec 31 18:15:14 freenas notifier:
Dec 31 18:15:14 freenas notifier:
'--proxy_server': [NAME[:port]] - the http proxy server name and port. Default is none.
Dec 31 18:15:14 freenas notifier:
'--update_period': <#> - how often the IP is checked. The period is in [ms]. 30000..864000000. Default is about 10 min. Max is 10 days
Dec 31 18:15:14 freenas notifier:
'--update_period_sec': <#> - how often the IP is checked. The period is in [sec]. 30..864000. Default is about 10 min. Max is 10 days
Dec 31 18:15:14 freenas notifier:
'--forced_update_period': <#> - how often, in seconds, the IP is updated even if it is not changed. 30 sec..30 days, default, 30 days.
Dec 31 18:15:14 freenas notifier:
'--log_file': - log file path and name
Dec 31 18:15:14 freenas notifier:
'--background': run in background. output to log file or to syslog
Dec 31 18:15:14 freenas notifier:
'--verbose': <#> - set dbg level. 0 to 5
Dec 31 18:15:14 freenas notifier:
'--iterations': <#> - set the number of DNS updates. Default is 0, which means infinity.
Dec 31 18:15:14 freenas notifier:
'--syslog': force logging to syslog . (e.g. /var/log/mepossages). Works on **NIX systems only.
Dec 31 18:15:14 freenas notifier:
'--change_persona': - after init switch to a new user/group. Parameters: to change to. Works on **NIX systems only.
Dec 31 18:15:14 freenas notifier:
'--version': print the version number
Dec 31 18:15:14 freenas notifier:
Dec 31 18:15:14 freenas notifier:
'--exec': - external command to exec after an IP update. Include the full path.
Dec 31 18:15:14 freenas notifier:
'--cache_dir': - cache directory name. (e.g. /tmp/ddns). Defaults to /tmp on **NIX systems.
Dec 31 18:15:14 freenas notifier:
'--wildcard': enable domain wildcarding for dyndns.org, 3322.org, or easydns.com.
Dec 31 18:15:14 freenas notifier:
'--retries': <#> - network comm retry attempts. 0 to 100, default 0
Dec 31 18:15:14 freenas notifier:
'--retry_interval': <#> - network comm miliseconds retry interval. 0 to 30,000, default 1,000
Dec 31 18:15:14 freenas notifier:
'--retry_pending': <#> - retry ip update even after network comm retries exhausted, default on
Dec 31 18:15:14 freenas notifier:
'--retry_pending_interval': <#> - network comm seconds update retry interval, after retries exhausted. 5..3600, default 300
Dec 31 18:15:14 freenas notifier:
'--lang_file': [path/file] - language file path, and file name, defaults to either ../inadyn-mt/lang/en.lng, or etc/inadyn-mt/en.lng. Empty parameter option gives hard coded english defaults.
Dec 31 18:15:14 freenas notifier:
'--addr_pref': - ipv6 address preference for DDNS update. Defaults to pub.
Dec 31 18:15:14 freenas notifier:
Dec 31 18:15:14 freenas notifier:
Dec 31 18:15:14 freenas notifier:
Dec 31 18:15:14 freenas notifier: Wed Dec 31 18:15:14 2014: W:MAIN: Main: Error 'RC_CMD_PARSER_INVALID_OPTION' (0x50).
Dec 31 18:16:11 freenas notifier: inadynmt not running?
Dec 31 18:16:11 freenas notifier: Will not 'restart' inadynmt because inadynmt_enable is NO.
Dec 31 18:16:16 freenas notifier: inadynmt not running?
Dec 31 18:16:16 freenas notifier: inadynmt not running?

Let's see the contents of your /usr/local/etc/inadyn-mt.conf

REPLACE YOUR PASSWORD AND/OR USERNAME WITH x's
 

manualmedia

Dabbler
Joined
Dec 30, 2014
Messages
15
--dyndns_system default@no-ip.com --update_period_sec 3600000 INADYN_ON=1
INADYN_USERNAME=XXXXXXX
INADYN_PASSWORD=XXXXXXX
INADYN_ALIAS=ryucloud.me
UPDATE_PERIOD=3600000
LOG_FILE_ON=1
LOG_NAME=/mnt/storage1/inadyn.log
DYN_SYSTEM_ON=1
DYN_SYSTEM=default@no-ip.com --background --syslog --username XXXXXXX--password XXXXXX --alias
 

manualmedia

Dabbler
Joined
Dec 30, 2014
Messages
15
Looking into this. Give me a minute.

Worst case scenario? I let you have one of my dyn.com slots. They gave me 30. I only need like 5.
Hey man, I really appreciate the sentiment and really appreciate you helping me out, but if it comes down to paying for a service to do this, I'm not opposed. This is also more of a learning experience for me as well.

Another user recommended DNS-O-Matic as an alternative, but I don't think that any of the options will work until I get inadyn-mt to start.

Thank you again!
 

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
I have a feeling your inadyn-mt would start if you used another service. That's why I want to see your config file.
 

manualmedia

Dabbler
Joined
Dec 30, 2014
Messages
15
I have a feeling your inadyn-mt would start if you used another service. That's why I want to see your config file.
Ah, okay.
Should I try signing up for freedns.afraid? I've read that's a common service provider.
 

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
Can I not see your .conf file? I wonder if there's a syntax error/bug in it.
xxxx out the personal information.
 

manualmedia

Dabbler
Joined
Dec 30, 2014
Messages
15
Can I not see your .conf file? I wonder if there's a syntax error/bug in it.
xxxx out the personal information.
Oh, I thought I pasted the .conf file above - is this not what you were looking for?

--dyndns_system default@no-ip.com --update_period_sec 3600000 INADYN_ON=1
INADYN_USERNAME=XXXXXXX
INADYN_PASSWORD=XXXXXXX
INADYN_ALIAS=ryucloud.me
UPDATE_PERIOD=3600000
LOG_FILE_ON=1
LOG_NAME=/mnt/storage1/inadyn.log
DYN_SYSTEM_ON=1
DYN_SYSTEM=default@no-ip.com --background --syslog --username XXXXXXX--password XXXXXX --alias

That's everything that was in /usr/local/etc/inadyn-mt.conf
 

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
oh shit, sorry, I see it now. hang on.
 

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
OK do this. I see something.

In the dynamic DNS settings, set the "IP Server" field to this, exactly:
icanhazip.com:80 /.

The syntax is important.

Then restart. Remember to enter your pw's again.
 

manualmedia

Dabbler
Joined
Dec 30, 2014
Messages
15
OK do this. I see something.

In the dynamic DNS settings, set the "IP Server" field to this, exactly:
icanhazip.com:80 /.

The syntax is important.

Then restart. Remember to enter your pw's again.

That turned it on! So now that this is working, do I need to change anything in the config, or should it just work from here on?
 
Status
Not open for further replies.
Top