Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: mike_mattos on January 31, 2011, 07:47:56 PM

Title: easyDNS and ddclient
Post by: mike_mattos on January 31, 2011, 07:47:56 PM
anyone having any success with this combination?  easyDNS has made some changes, and I'm using DNS with mobile internet, but having too many problems!
Title: Re: easyDNS and ddclient
Post by: christian on February 02, 2011, 03:01:59 AM
I've been using this combination for ages without issue.
Title: Re: easyDNS and ddclient
Post by: christian on February 02, 2011, 03:07:05 AM
I'll add that your /etc/ddclient/ddclient.conf should have something like this in it:
Code: [Select]
##
## EasyDNS (easydns.com)
##
 server=members.easydns.com, \
 protocol=easydns, \
 login=<login name>, \
 password=<password> \
 <Your Domain Name>
Title: Re: easyDNS and ddclient
Post by: mike_mattos on February 02, 2011, 04:25:47 PM
strange, ff reports

./etc/ddclient.conf
./etc/e-smith/templates/etc/ddclient/ddclient.conf
./etc/e-smith/events/domain-modify/templates2expand/etc/ddclient/ddclient.conf
./etc/e-smith/events/ddclient/templates2expand/etc/ddclient/ddclient.conf
./etc/e-smith/events/domain-delete/templates2expand/etc/ddclient/ddclient.conf
./etc/e-smith/events/post-upgrade/templates2expand/etc/ddclient/ddclient.conf
   

so where should the live ddclient.conf be?  The /etc/ddclient.conf  is all commented out!

I've reconfigured/rebooted the system!  And used the control panel to create the entry! And reconfigured/rebooted again
Title: Re: easyDNS and ddclient
Post by: christian on February 02, 2011, 06:24:12 PM
I would use it where ever it ended up. But you should be able to confirm which path it is using if you look in the /etc/init.d/ddclient script. It will be near the top of the script. I will note that according to ddclient man your destination looks normal. I don't recall why mine is where it is. It may be a legacy issue.

I did not use the contrib so I can't comment on that. I installed mine manually many years ago. However, the .conf does need to end up having an uncommented section which looks like what I wrote above.

If the panel is not working then you may wish to submit a bug to the contrib and see if the author can help.

<edit>: clarified 1st para.
Title: Re: easyDNS and ddclient
Post by: christian on February 26, 2011, 01:04:21 AM
Having now re-installed my ddclient on another server I realize now why my ddclient.conf path was different. I installed by hand and the ddclient install instructions specify the path I used. The contrib must have modified this.

You may also have to uncomment the line in ddclient.conf where it has:
Code: [Select]
use=if,                     if=eth0                # via interfacesEnsure your WAN is on eth0 otherwise use the appropriate eth. Executing the following can help you determine which method will work best:
Code: [Select]
ddclient -daemon=0 -query