From owner-freebsd-questions Tue Apr 2 10:21:57 2002 Delivered-To: freebsd-questions@freebsd.org Received: from tninet.se (lennier.tninet.se [195.100.94.105]) by hub.freebsd.org (Postfix) with ESMTP id 38CDA37B41B for ; Tue, 2 Apr 2002 10:21:52 -0800 (PST) Received: from cs.umu.se (h16n1c1o1023.bredband.skanova.com [213.64.164.16]) by lennier.tninet.se (BMR ErlangTM/OTP 3.0) with ESMTP id 648196.771703.1017.0s17344853lennier ; Tue, 02 Apr 2002 20:21:43 +0200 Message-ID: <3CA9F6B7.B55D5D5F@cs.umu.se> Date: Tue, 02 Apr 2002 20:21:43 +0200 From: Paul Everlund X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: sv,en MIME-Version: 1.0 To: Server Admin Cc: Kathy Quinlan , freebsd-questions@FreeBSD.ORG Subject: Re: ddclient and Dynamic DNS servers References: <3.0.5.32.20020402111607.01911700@mail.sage-one.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Server Admin wrote: > > hmmmm, Paul & Kathy: Both descriptions of installations and use of ddclient > seems in conflict with my experience. > > First, when installed ddclient comes with its own startup script > ddclient.sh.sample, which is merely renamed to ddclient.sh. It is used at > bootup and starts as a daemon and checks immediately the dynamic ip > connection for updates to dns. > > Then, these commands can be used to start/stop services: > # sh /usr/local/etc/rc.d/ddclient.sh stop > # sh /usr/local/etc/rc.d/ddclient.sh start > > Further, the script above runs dcclient as a daemon: > /usr/local/sbin/ddclient -daemon 300 > > To make it complete, dcclient checks for any needed IP updates every five > minutes on its own. If it sees a change (from ifconfig tun0), it updates > and send me a message that it did so. Otherwise it just works quietly in > the background. Duh! I think I have to take a pill or something to wake up before I make any postings here. :-) Kathy did ask about ddclient, and I started to write about ddup. Anyway I think I tried ddclient for some time, but as I have limited memory (in my computer :-) I did go with ddup instead. ddclient starts up Perl, and keeps it running if started as a daemon, which takes some MB's of memory. ddup is on the other hand a nice little C program that makes essentially the same thing. It starts, does its update, then stops and returns any allocated memory. Also using a crontab script, as ddupcron.sh, does not affect memory as cron anyway always is running. That's why I'm using ddup. But it also, as I wrote before, got me kicked out from my dyn dns for a week as I had not found the ddupcron.sh at the time, and hence did a real update every tenth minute. :-) Now it though works ok! If Kathy wants to use the memory in her computer the most efficient way, ddup is the way to go. If she on the other hand wants an easy to use client she should probably go with ddclient. > Beautiful program....!!! Does it all out of the box! Agree! It works well! But it used up too much memory in my little old com- puter. > .... our website: http://www.sage-one.net/ > > Best regards, > > Jack L. Stone > Server Admin Best regards, Paul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message