[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to update dynamic dns?
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: How to update dynamic dns?
- From: Alexander_(_dot_)_Farber_(_at_)_t-online_(_dot_)_de (Alex Farber)
- Date: Sun, 01 Apr 2001 04:14:19 +0200
Gary MacKay wrote:
>
> How would I go about automatically updating a dynamic dns service should the
> cable company change my IP address? Can I put a call to ipcheck somewhere? I
> suppose I could use a cron job to check the IP every x minutes, but why
> waste the clock cycles. There must be a better place to call it from. Anyone
> ever done this?
pref:alex {101} cat /etc/ppp/ppp.linkup
tonline:
! /sbin/ipf -Fa -f /etc/ipf.rules
! /sbin/ipnat -CF -f /etc/ipnat.rules
bg /home/alex/ipcheck/ipcheck.py -d /home/alex/ipcheck --syslog -i tun0 -q xxx xxx xxx.dyndns.org
pref:alex {102} crontab -l
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.xrAsYk5276 installed on Sun Mar 4 12:34:45 2001)
# (Cron version -- $Id: crontab.c,v 1.18 2000/08/21 21:08:55 deraadt Exp $)
3,23,43 * * * * /home/alex/ipcheck/ipcheck.py -d /home/alex/ipcheck --syslog -i tun0 -q xxx xxx xxx.dyndns.org
--
http://home.t-online.de/home/Alexander.Farber/
Visit your host, monkey.org