Re: [PLUG] Tracking a Dynamic IP address...

Claude M. Schrader on 20 Sep 2006 17:47:20 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Tracking a Dynamic IP address...


If you wanted to go the DIY route, you could always do something like:
curl http://whatismyip.org/ | mail -s "Current IP Address"
root@example.com
Then use procmail on the client machine to pass that IP to a shell script
that will update the hosts file, or dns or whatever
On Tue, Sep 19, 2006 at 05:22:44PM -0400, George Gallen wrote:
> We will have one server at one location that has a dynamic IP DSL line.
> This server will be behind a router (so it will see itself as
> 192.168...)
> This server will have 2 printers it prints to.
> 
> I need to use the server as an lpd server for those 2 printers for our
> other
> system which is on a static IP address.
> 
> My thought was to have a cron job on the remote (DSL) server that contacts
> our static server every minute to get the IP address.
> 
> Is there public domain software that will will accept the DSL contact and
> update the static servers internal DNS for that address? I don't want
> to
> have to update /etc/hosts everytime it changes (via a program). I'm
> assuming
> I'd also have to 'lpc down prxx' 'lpc up prxx' so lpr now knows the
> correct IP
> as well, or can I skip this step?
> 
> Currently, our static server uses another DNS server for resolution, but
> I'd like
> to keep this function on our server.
> 
> George
> 
> George Gallen
> Senior Programmer/Analyst
> Accounting/Data Division
> ggallen@slackinc.com
> ph:856.848.1000 Ext 220
> 
> SLACK Incorporated - Delivering the best in health care information and
> education worldwide.
> [1]http://www.slackinc.com
> 
> References
> 
> Visible links
> 1. http://www.slackinc.com/
> ___________________________________________________________________________
> Philadelphia Linux Users Group -- http://www.phillylinux.org
> Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
> General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug

Attachment: pgp6MVGxQrFqQ.pgp
Description: PGP signature

___________________________________________________________________________
Philadelphia Linux Users Group -- http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug



AltStyle によって変換されたページ (->オリジナル) /