Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Oct 2000 22:58:48 -0300 (ADT)
From:      The Hermit Hacker <scrappy@hub.org>
To:        Chris Browning <brownicm@prokyon.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: dhclient.conf and setting dynamic dns ...
Message-ID:  <Pine.BSF.4.21.0010182258110.974-100000@thelab.hub.org>
In-Reply-To: <39EE5209.A013394A@prokyon.com>

next in thread | previous in thread | raw e-mail | index | archive | help

the dns stuff is relatively easy:

---------
# $FreeBSD: src/etc/dhclient.conf,v 1.2 1999/08/27 23:23:41 peter Exp $
#
#       This file is required by the ISC DHCP client.
#       See ``man 5 dhclient.conf'' for details.
#
#       In most cases an empty file is suffient for most people as the
#       defaults are usually fine.
#
supersede domain-name "hub.org";
prepend domain-name-servers 127.0.0.1, 216.126.84.1, 131.162.2.45;
-----------

it still adds "their servers" as backup server 4 and 5, but at least mine
have to time out several times before it hits :)



On Wed, 18 Oct 2000, Chris Browning wrote:

> The Hermit Hacker wrote:
> > 
> > Morning all ...
> > 
> >         I have a server running as primary dns for my domain, with my
> > personal computer at home running on a semi-permanent IP through Shaw
> > cable ... I'm running dhclient for dhcp, and am wondering if anyone has
> > set things up so that when the IP changes, it updates dynamic dns on
> > antoher machine?
> > 
> >         The only thing I can see in the dhclient.conf man page is the
> > 'script' directive, but its for setting things *before* the update, not
> > afterwards ...
> > 
> >         Ideas?
> 
> I may be mistaken, but I think that the exit_with_hooks is
> what you want. I've been poking around in dhclient, too. I
> know it re-writes resolv.conf when it finishes updating. I
> haven't had time to fully explore it, but I've been playing
> around with it to put my local DNS stuff back in resolv.conf
> after an update. Of course, I may be completely off-track,
> but I think that's where such things go. Anyone else?
> -- 
> ------------------------
> Chris Browning
> brownicm@prokyon.com
> ------------------------
> 
> 

Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
Systems Administrator @ hub.org 
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org 



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?Pine.BSF.4.21.0010182258110.974-100000>