From owner-freebsd-questions Sun Dec 9 11:13:20 2001 Delivered-To: freebsd-questions@freebsd.org Received: from sage-american.com (sage-american.com [216.122.141.44]) by hub.freebsd.org (Postfix) with ESMTP id 8768137B417 for ; Sun, 9 Dec 2001 11:13:16 -0800 (PST) Received: from SAGEONE (adsl-64-219-20-12.dsl.crchtx.swbell.net [64.219.20.12]) by sage-american.com (8.9.3/8.9.3) with SMTP id NAA06654; Sun, 9 Dec 2001 13:13:10 -0600 (CST) Message-Id: <3.0.5.32.20011209131315.0101cb38@mail.sage-american.com> X-Sender: jacks@mail.sage-american.com X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Sun, 09 Dec 2001 13:13:15 -0600 To: Kjell From: jacks@sage-american.com Subject: Re: Scripting help Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <20011209185839.40DBF8420@mail.broadpark.no> References: <3.0.5.32.20011209100224.0101cb38@mail.sage-american.com> <3.0.5.32.20011209100224.0101cb38@mail.sage-american.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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 Is that the one called "ipcheck"...? ...or did I miss one? At 06:59 PM 12.9.2001 +0100, Kjell wrote: >On Sunday 09 December 2001 5:02 pm, you wrote: >> I have just set up an experimental FBSD 4.4-STABLE server using DSL with >> dynamic ip. Using ZoneEdit DNS services, the DNS can be updated with a cron >> script to still point to the proper name. I'm doing that now using cron to >> run the update script every 8 hours (the connection usually runs for weeks >> at a time without disconnect). >> >> However, I had rather have a script that runs every so often (xminutes) and >> doesn't bother the DNS server unless and ONLY if a changed in the dynamic >> IP has occured as a result of disconnect/reconnect. Here are the functions >> I see needed, but scripting language is not yet a decent skill of mine. I >> suspect others using dynamic IPs have this same need: Any guidence >> appreciated once again. (I've looked at the ipcheck that uses Python, but >> rather not go that route if possible to do the simple approach below). >> >An alternative would be to download the standard Python script from >ZoneEdit.com It does exactly what you want. I have set mine up to check my IP >address every 5 minutes. >Regards from Kjell.... > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > > Best regards, Jack L. Stone, Server Admin Sage-American http://www.sage-american.com jacks@sage-american.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message