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

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 09 December 2001 8:39 pm, you wrote:
> Okay, you are referring to the zoneedit.py script. I already use the "lynx"
> method to do the updating part and just wanted something very simple to do
> internal checking on when an update is really needed rather than pinging
> away at ZoneEdit more than necessary. The python script seems like an awful
> long script for my simple needs....
The script will only update zoneedit when your IP address changes. In my case 
every 6 to 8 weeks. The script is long because it takes care of a number of 
modems etc.. I have stripped down my copy to just my Cisco modem, and the 
size is just 20% of the original size. But basically it was a waste of time 
to remove all the unused parts. I have added a few lines that will email me 
when the IP address changes.
Regards from Kjell

>
> 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....
>
> 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

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?20011209233325.B64137DA6>