Re: [Ddclient-support] Few additions/suggestions
Brought to you by:
supersandro2000,
wimpunk
From: wimpunk <wi...@us...> - 2014-08-15 09:51:50
|
On 08/07/14 06:03, Gregor wrote: > Hello there, > I am not sure how to communicate a few things I changed up for DDClient to work on my setup, so I am sending an e-mail to this list. Additions are very small indeed, and done on 3.8.1, so new version may be different a bit. I am running openSuse 13.1. I apologize for not creating a patch, I think that would be an overkill :) > You could start subscribing to the list. > > First off, I have a linksys router running DD-WRT firmware, and since there was no explicit support that I could find, I modified ddclient directly to add the following in the devices array: > ========================================== > > 'dd-wrt' => { > 'name' => 'DD-WRT Firmware routers', > 'url' => '/', > 'skip' => 'IP: ', > }, > ========================================= Supply it as a patch to the latest version. > > The landing page of the router is a public info page, and contains wan IP, behind the only instance of string "IP: xxx...". I have tested this on my router only, so you may want to confirm this with some other DD-WRT users. In order to use this, the ddclient.conf file simply specifies: > =============================== > use=dd-wrt, fw=172.21.1.254:80 > =============================== > > > Second, zoneedit.com changed their update interface, and while changes are already accounted for in 3.8.1 of ddclient, "https" is not. ZoneEdit enabled https only, so URL needs to specify this as well. For my purpose, I have updated "nic_zoneedit1_update" function, and have changed http to https in the following code: > ========================= > my $url = ''; > $url .= "https://$config{$h}{'server'}/auth/dynamic.html"; > $url .= "?host=$hosts"; > $url .= "&dnsto=$ip" if $ip; > $url .= "&zone=$config{$h}{'zone'}" if defined $config{$h}{'zone'}; > ========================= > Did you tried this with the latest version from subversion? Or from git on github? > I am sure this is not the best solution, but forcing ssl use through ddclient.conf param "ssl=yes" did not work for me, and I did not really want to spend time debugging it :) > > That is all I have, thanks for your time, and thank you for creating and maintaining an excellent dynamic update client! > > Cheers, > > Gregor Tamindzija > ------------------------------------------------------------------------------ > _______________________________________________ > Ddclient-support mailing list > Ddc...@li... > https://lists.sourceforge.net/lists/listinfo/ddclient-support > |