Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Mar 2003 08:53:51 -0600
From:      Peter Elsner <peter@servplex.com>
To:        jdroflet@canada.com
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Can I run my own Dynamic DNS server for private use ??
Message-ID:  <5.2.0.9.2.20030305084941.01b70ec8@mail.servplex.com>
In-Reply-To: <20030304212550.22887.h009.c009.wm@mail.canada.com.critical path.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Sure...   I'm almost positive there are ports available that do that sort 
of thing,

I just wrote my own :)

I have 2 Perl scripts that do exactly what you want.  (well almost)...

One sits on the client and runs ifconfig -L <device> to a text file about 
every 10 to 20 minutes.
The text file is then parsed and if the IP address is different from the 
most recent one, it sends it to the server.

The server runs another script every 5 minutes and if it finds an IP 
address, it
then parses that, and updates a db entry in the namedb database and sends
an ndc restart to named.

A bit crude, but it works, and I've been using it for about 2 years now...

Peter



At 09:25 PM 3/4/2003 -0800, you wrote:
>I have a static IP and a number of remotes with Cable or ADSL access.
>Remotes have FreeBSD, or router firewalls ala Linksys, Netgears.
>
>To make support/access easier can I set up my own Dynamic DNS server on
>the static address and have those remotes register their IP's with it
>when they change ?
>Thanks in Advance -Jay.
>
>__________________________________________________________
>Get your FREE personalized e-mail at http://www.canada.com
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-questions" in the body of the message

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



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?5.2.0.9.2.20030305084941.01b70ec8>