Dynamic DNS and freeedns.afraid.org

Status
Not open for further replies.

JJT211

Patron
Joined
Jul 4, 2014
Messages
323
Cool, here's my log, appears its actually working now.

Code:
--2015-01-26 17:00:00--  http://freedns.afraid.org/dynamic/update.php?xxxxxxx                                            
Resolving freedns.afraid.org (freedns.afraid.org)... 204.140.20.21             
Connecting to freedns.afraid.org (freedns.afraid.org)|204.140.20.21|:80... conne
cted.                                                                          
HTTP request sent, awaiting response... 200 OK                                 
Length: unspecified [text/plain]                                               
Saving to: 'STDOUT'                                                            
ERROR: Address xx.xxx.xx.xxx has not changed.                                  
                                                                               
     0K                                                        1.47M=0s        
                                                                               
2015-01-26 17:00:01 (1.47 MB/s) - written to stdout [46]
 

stefanb

Patron
Joined
Dec 12, 2014
Messages
200
TOP!
 

MIg Ponce

Dabbler
Joined
Feb 5, 2015
Messages
10
I got the sane problem.
var/log:
DYNDNS Server response:
HTTP/1.1 200 OK
Mar 2 00:00:00 freenas newsyslog[7476]: logfile turned over due to size>100K
Mar 2 00:00:00 freenas syslog-ng[1969]: Configuration reload request received, reloading configuration;
Mar 2 00:00:30 freenas notifier: /etc/rc.conf: inadyn-mt_enable=YES: not found
Mar 2 00:00:30 freenas notifier: /var/tmp/rc.conf.freenas: net.inet.tcp.delayed_ack=0: not found
Mar 2 00:00:31 freenas notifier: /etc/rc.conf: inadyn-mt_enable=YES: not found
Mar 2 00:00:31 freenas notifier: /var/tmp/rc.conf.freenas: net.inet.tcp.delayed_ack=0: not found
Mar 2 00:00:34 freenas notifier: /etc/rc.conf: inadyn-mt_enable=YES: not found
Mar 2 00:00:34 freenas notifier: /var/tmp/rc.conf.freenas: net.inet.tcp.delayed_ack=0: not found
Mar 2 00:00:34 freenas notifier: /etc/rc.conf: inadyn-mt_enable=YES: not found
Mar 2 00:00:34 freenas notifier: /var/tmp/rc.conf.freenas: net.inet.tcp.delayed_ack=0: not found
Mar 2 00:00:34 freenas notifier: Stopping inadynmt.
Mar 2 00:00:34 freenas notifier: Waiting for PIDS: 2854.
Mar 2 00:00:35 freenas notifier: /etc/rc.conf: inadyn-mt_enable=YES: not found
Mar 2 00:00:35 freenas notifier: /var/tmp/rc.conf.freenas: net.inet.tcp.delayed_ack=0: not found
Mar 2 00:00:35 freenas notifier: /etc/rc.conf: inadyn-mt_enable=YES: not found
Mar 2 00:00:35 freenas notifier: /var/tmp/rc.conf.freenas: net.inet.tcp.delayed_ack=0: not found
Mar 2 00:00:35 freenas notifier: inadynmt not running?
Mar 2 00:00:35 freenas notifier: Starting inadynmt.

Mar 2 07:49:44 freenas nmbd[2591]: STATUS=daemon 'nmbd' finished starting up and ready to serve connectionsadded interface lo0 ip=127.0.0.1 bcast=127.255.255.255 netmask=255.0.0.0
Mar 2 07:54:41 freenas notifier: /etc/rc.conf: inadyn-mt_enable=YES: not found
Mar 2 07:54:42 freenas notifier: /var/tmp/rc.conf.freenas: net.inet.tcp.delayed_ack=0: not found
Mar 2 07:54:42 freenas notifier: /etc/rc.conf: inadyn-mt_enable=YES: not found
Mar 2 07:54:42 freenas notifier: /var/tmp/rc.conf.freenas: net.inet.tcp.delayed_ack=0: not found
Mar 2 07:54:45 freenas notifier: /etc/rc.conf: inadyn-mt_enable=YES: not found
Mar 2 07:54:45 freenas notifier: /var/tmp/rc.conf.freenas: net.inet.tcp.delayed_ack=0: not found
Mar 2 07:54:45 freenas notifier: /etc/rc.conf: inadyn-mt_enable=YES: not found
Mar 2 07:54:45 freenas notifier: /var/tmp/rc.conf.freenas: net.inet.tcp.delayed_ack=0: not found
Mar 2 07:54:45 freenas notifier: inadynmt not running?
Mar 2 07:54:45 freenas notifier: /etc/rc.conf: inadyn-mt_enable=YES: not found
Mar 2 07:54:45 freenas notifier: /var/tmp/rc.conf.freenas: net.inet.tcp.delayed_ack=0: not found
Mar 2 07:54:45 freenas notifier: /etc/rc.conf: inadyn-mt_enable=YES: not found
Mar 2 07:54:45 freenas notifier: /var/tmp/rc.conf.freenas: net.inet.tcp.delayed_ack=0: not found
Mar 2 07:54:45 freenas notifier: Will not 'restart' inadynmt because inadynmt_enable is NO.
Mar 2 07:54:49 freenas notifier: /etc/rc.conf: inadyn-mt_enable=YES: not found
Mar 2 07:54:50 freenas notifier: /var/tmp/rc.conf.freenas: net.inet.tcp.delayed_ack=0: not found
Mar 2 07:54:50 freenas notifier: /etc/rc.conf: inadyn-mt_enable=YES: not found
Mar 2 07:54:50 freenas notifier: /var/tmp/rc.conf.freenas: net.inet.tcp.delayed_ack=0: not found
Mar 2 07:54:50 freenas notifier: Starting inadynmt.
Mar 2 07:54:50 freenas INADYN[7200]: Mon Mar 2 07:54:50 2015: W:INADYN: IP address for alias 'freenaslocal.ignorelist.com:auto' needs update to '66.50.160.65'...
Mar 2 07:54:51 freenas INADYN[7200]: Mon Mar 2 07:54:51 2015: W:INADYN: Error validating DYNDNS svr answer. Check usr,pass,hostname!
Mar 2 07:54:51 freenas INADYN[7200]: Mon Mar 2 07:54:51 2015: C:INADYN:
**********************************************************************
Fatal dyndns server update error for alias, freenaslocal.ignorelist.com.
This client should be stopped and corrected for configuration errors, and restarted...
**********************************************************************
Mar 2 07:54:51 freenas INADYN[7200]: Mon Mar 2 07:54:51 2015: W:INADYN: DYNDNS Server response:
HTTP/1.1 200 OK
Server: nginx
Date: Mon, 02 Mar 2015 11:54:51 GMT
Content-Type: text/plain; charset=utf-8
Connection: close
Vary: Accept-Encoding
Cache-Control: no-store, no-cache, must-revalidate
Cache-Control: post-check=0, pre-check=0
Pragma: no-cache
Expires: Mon, 26 Jul 1997 05:00:00 GMT
X-Cache: MISS

ERROR: Invalid update URL (2)
Mar 2 07:54:51 freenas INADYN[7200]: Mon Mar 2 07:54:51 2015: W:DYNDNS: Failed updating alias table...
Mar 2 07:54:51 freenas INADYN[7200]: Mon Mar 2 07:54:51 2015: W:'RC_DYNDNS_RSP_CONFIG' (0x49) updating the IPs. (it 0)
Mar 2 07:59:51 freenas INADYN[7200]: Mon Mar 2 07:59:51 2015: E:INADYN:
**********************************************************************
Skipping IP update attempt subsequent to fatal dyndns server update error for alias, freenaslocal.ignorelist.com.
This client should be stopped and corrected for configuration errors, and restarted...
**********************************************************************
Mar 2 07:59:51 freenas INADYN[7200]: Mon Mar 2 07:59:51 2015: W:'RC_ERROR' (0x1) updating the IPs. (it 0)
 

MIg Ponce

Dabbler
Joined
Feb 5, 2015
Messages
10
Also:
[root@freenas ~]# service inadyn start
/etc/rc.conf: inadyn-mt_enable=YES: not found
/var/tmp/rc.conf.freenas: net.inet.tcp.delayed_ack=0: not found
inadyn does not exist in /etc/rc.d or the local startup
directories (/etc/ix.rc.d /usr/local/etc/rc.d)
 

MIg Ponce

Dabbler
Joined
Feb 5, 2015
Messages
10
[root@freenas ~]# service inadyn start
/etc/rc.conf: inadyn-mt_enable=YES: not found
/var/tmp/rc.conf.freenas: net.inet.tcp.delayed_ack=0: not found
inadyn does not exist in /etc/rc.d or the local startup
directories (/etc/ix.rc.d /usr/local/etc/rc.d)

Provider: freedns.arafraid.or
IP Server: none (i try icanhazip.com:80 /. this also)
Domain name:freenaslocal.ignorelist.com
Username: my user
Password: my pass
Confirm Password: somepass
Update period: 300
Forced update period: 600
Auxiliary parameters: none

**********************************************************************
Mar 2 12:27:12 freenas INADYN[2854]: Mon Mar 2 12:27:12 2015: W:'RC_ERROR' (0x1) updating the IPs. (it 0)
Mar 2 12:27:13 freenas INADYN[2854]: Mon Mar 2 12:27:13 2015: W:INADYN: IP address for alias 'freenaslocal.ignorelist.com:auto' needs update to '66.50.160.65'...
Mar 2 12:27:13 freenas INADYN[2854]: Mon Mar 2 12:27:13 2015: E:INADYN:
**********************************************************************
Skipping IP update attempt subsequent to fatal dyndns server update error for alias, freenaslocal.ignorelist.com.
This client should be stopped and corrected for configuration errors, and restarted...
**********************************************************************
Mar 2 12:27:13 freenas INADYN[2854]: Mon Mar 2 12:27:13 2015: W:DYNDNS: Failed updating alias table...
Mar 2 12:27:13 freenas INADYN[2854]: Mon Mar 2 12:27:13 2015: W:'RC_DYNDNS_RSP_CONFIG' (0x49) updating the IPs.

var/log/messages: see attachment
 

Attachments

  • var-log-msgs.txt
    163.8 KB · Views: 337

isaac82

Dabbler
Joined
Nov 13, 2012
Messages
16
I'm trying to get this working again on my freenas. Opened the service config for the first time in ages. When I hit ok I get the 'invalid domain' error. Some searching showed it now need a hash # as the seperator between domain and hash. If I use that instead I get 'Incorrect usage of the # delimiter.' instead.

I'm using

mydomain.mooo.com#myhash

Anyone know what I'm doing wrong?
 

JJT211

Patron
Joined
Jul 4, 2014
Messages
323
I gave up trying to get this to work on FreeNAS. I wound up just using it on pfSense. It's the most practical place to be running a Dynamic DNS anyways IMO
 

ian351c

Patron
Joined
Oct 20, 2011
Messages
219
I gave up trying to get this to work on FreeNAS. I wound up just using it on pfSense. It's the most practical place to be running a Dynamic DNS anyways IMO
I gave up as well. The config for Afraid is broken because it's different than the others (uses API tokes rather than username/password) and the script that generates the config doesn't know how to handle that. I ended up using the "sample cron job" from the afraid.org web page and run it as a cron job on FreeNAS.
 

JohnnyFreeNAS

Dabbler
Joined
Feb 11, 2016
Messages
24
I have tried everything mentioned here. none of it works. the qui doesn't want to accept the correct domain format that afraid is looking for. I'm on 9.3-stable. is there any way the developer will see these messages?
 
D

dlavigne

Guest
Nope, not unless you create a bug report at bugs.freenas.org. If you create one, post the issue number here.
 

Yatti420

Wizard
Joined
Aug 12, 2012
Messages
1,437
I use dnsomatic and then have freedns pull from their.. I use OpenDNS on my networks so it allows for easy admin etc..
 

ian351c

Patron
Joined
Oct 20, 2011
Messages
219
The Dynamic DNS Service configuration script is still broken for Afraid.org on FreeNAS. I opened a bug report last year but no one seemed interested in fixing it. I ended up setting up a cron job in the GUI that runs this command:

/usr/local/bin/curl "http://freedns.afraid.org/dynamic/update.php?yourapikeyhere" | /usr/bin/logger -t dyndnscurl

I have a separate cron job for each API key.
 

dghoti

Cadet
Joined
Dec 31, 2015
Messages
3
Hi,

I have just had this problem too, but I have fixed it.

The solution is quite simple - and here it is for all you who have searched, hope this helps. I am running FreeNAS-9.3-STABLE-201602031011

First login to afraid.org.
You will need to get the hash used for each of your hostnames, to add into the config later - get all the info you need by going to:
http://freedns.afraid.org/api/ and look for the link titled "ASCII", which should be near the top, this will give you all the required information on one page.

the list will be your hostnames, ip addresses then the update URL in the format:
Code:
host.example.com|10.10.10.10|http://freedns.afraid.org/dynamic/update.php?sOmErAnDoMhAsHwItHnUmBeRs=


now go to FreeNas->Services, and open the DynamicDNS settings
select "freedns.afraid.org"
IPserver can be left blank (I do)
Domain Name - enter your hostname followed by a "#" then the hash from the above line (do not include the "=") example:
Code:
for one host:
host.example.com#sOmErAnDoMhAsHwItHnUmBeRs
for two hosts:
host1.example.com#sOmErAnDoMhAsHwItHnUmBeRs,host2.example.com#dIfFrAnDoMhAsHwItHnUmBeRs2

add your username and password (and verify password)
set your update period (my connection is pretty stable so I use 300)
forced update period: 320000

[OPTIONAL]
for a third hostname, in the "Auxiliary parameters" box, add the deatils in the following format:
Code:
--alias host.example.com,sOmErAnDoMhAsHwItHnUmBeRs


click save, and enjoy the updates!

(Apologies for lack of neatness, but it should hopefully be clear enough - Ive had a long day configuring stuff, but thought I'd add my findings on here)
 
Status
Not open for further replies.
Top