Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Dec 2001 18:59:10 +0100
From:      Kjell <la3sg@sensewave.com>
To:        jacks@sage-american.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Scripting help
Message-ID:  <20011209185839.40DBF8420@mail.broadpark.no>
In-Reply-To: <3.0.5.32.20011209100224.0101cb38@mail.sage-american.com>
References:  <3.0.5.32.20011209100224.0101cb38@mail.sage-american.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011209185839.40DBF8420>