Date: Wed, 16 Apr 2003 08:20:03 -0500 From: Peter Elsner <peter@servplex.com> To: Alfonso Romero <ibac@prodigy.net.mx> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Dynamic IP Web Server Message-ID: <5.2.0.9.2.20030416081617.015bbeb0@mail.servplex.com> In-Reply-To: <012701c303b0$d9ac9700$0100a8c0@ibac> References: <00df01c30399$e33e5ae0$0100a8c0@ibac> <3E9C8939.6060707@laposte.net>
next in thread | previous in thread | raw e-mail | index | archive | help
I did this for our customers that run FreeBSD... We host their Dynamic DNS for them. I wrote 2 Perl scripts (a client and a server). The server side runs on my system updating the db.zone files and sending an ndc reload <zonename> if changes were made. (it monitors a directory on my system for updates). This runs every 5 minutes via CRON. On the client side, I simply call ifconfig -L <device name> (tun0, sis0, rl0, etc...), and obtain the line with inet xxx.xxx.xxx.xxx in it. I then strip out everything except the ip address. Then save that to a text file. This script runs every 20 minutes (or as desired), and if the address has changed, sends it to my server and places it in the aforementioned directory. This has worked flawlessly for me now for over 2 years... Peter At 07:40 PM 4/15/2003 -0500, you wrote: >I cheched dns2go, but they require Windows! and I want to use Freebsd > > >----- Original Message ----- >From: "E. J. Cerejo" <ej.cerejo@laposte.net> >To: "Alfonso Romero" <ibac@prodigy.net.mx> >Cc: <freebsd-questions@freebsd.org> >Sent: Tuesday, April 15, 2003 5:35 PM >Subject: Re: Dynamic IP Web Server > > > > use dns2go > > > > www.dns2go.com > > > > Alfonso Romero wrote: > > > Is there a way to use a dynamic IP address to host a Web site? Could you >please tell me where can I get some information about that? > > > _______________________________________________ > > > freebsd-questions@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > To unsubscribe, send any mail to >"freebsd-questions-unsubscribe@freebsd.org" > > > > > > > > > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" ---------------------------------------------------------------------------------------------------------- Peter Elsner <peter@servplex.com> Vice President Of Customer Service (And System Administrator) 1835 S. Carrier Parkway Grand Prairie, Texas 75051 (972) 263-2080 - Voice (972) 263-2082 - Fax (972) 489-4838 - Cell Phone (425) 988-8061 - eFax I worry about my child and the Internet all the time, even though she's too young to have logged on yet. Here's what I worry about. I worry that 10 or 15 years from now, she will come to me and say "Daddy, where were you when they took freedom of the press away from the Internet?" -- Mike Godwin Unix IS user friendly... It's just selective about who its friends are. System Administration - It's a dirty job, but somebody said I had to do it. If you receive something that says 'Send this to everyone you know, pretend you don't know me. Standard $500/message proofreading fee applies for UCE.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.2.0.9.2.20030416081617.015bbeb0>