EFW Support

Support => General Support => Topic started by: jonaskellens on Thursday 12 November 2009, 09:17:09 pm



Title: DynDNS to no-ip not updating IP-address
Post by: jonaskellens on Thursday 12 November 2009, 09:17:09 pm
When I do a "force update" to update my IP-address to no-ip, the IP-address is never updated.

The system logfile states the following :

Code:
sudo: nobody TTY=unknown ; PWD=/home/httpd/cgi-bin ; USER=root ; COMMAND=/usr/local/bin/setddns.pl -f 2

Is there a bug ?

Using Endian 2.3.


Title: Re: DynDNS to no-ip not updating IP-address
Post by: cclayden on Sunday 14 November 2010, 07:49:10 am
I have the exact same issue.  I am using zoneedit and dyndns, both are not updating and have the same log message...


Title: Re: DynDNS to no-ip not updating IP-address
Post by: cclayden on Sunday 14 November 2010, 07:55:42 am
I forgot to mention that i am running 2.4.1.  Tx.


Title: Re: DynDNS to no-ip not updating IP-address
Post by: cclayden on Monday 15 November 2010, 10:12:03 am
I found a bug on this issue, looks like the whole script needs to be rewritten.

I was able to work around zoneedit.  Zoneedit will not update without a hostname.  So I added a new hostname under my domain and all is good for this sub domain.

As for gotdns, still no joy.  I hope someone with an account can update the bug to reflect gotdns.

Hope this helps.

Cheers.


Title: Re: DynDNS to no-ip not updating IP-address
Post by: tadaog on Friday 19 November 2010, 12:02:05 am
YES! There's a bug in /usr/local/bin/setddns.pl around line 384 (I don't remember exactly because of several other bugs in 2.4.1 that makes it unusable for me), like:

if ($settings{'SERVICE'} = 'zoneedit'

in Perl, = is the assignment operator, the comparator is "eq" like you can see in the other similar before this buggy one!
So it must be (as the other ones in the same code):

if ($settings{'SERVICE'} eq 'zoneedit'


So it seems that this version programmers really didn't pay much attention to testing before releasing!!!

Another example:

In the OpenVPN configuration field to specify the network in the new way, the width doesn't allow sufficient characters to type, for example, 192.168.192.0/24 !!!

There's others glitches, like the waiting screens not dismissing when applying changes to proxy, or even not showing up when doing backups.



quote author=cclayden link=topic=1109.msg5992#msg5992 date=1289776323]
I found a bug on this issue, looks like the whole script needs to be rewritten.

I was able to work around zoneedit.  Zoneedit will not update without a hostname.  So I added a new hostname under my domain and all is good for this sub domain.

As for gotdns, still no joy.  I hope someone with an account can update the bug to reflect gotdns.

Hope this helps.

Cheers.

[/quote]


Title: Re: DynDNS to no-ip not updating IP-address
Post by: war6763 on Monday 27 December 2010, 06:31:50 pm
First post!

Thanks for the info! This also fixes dyndns.org!! Use nano to edit the file and you're set!

Cheers!