From owner-freebsd-questions Wed Oct 18 19: 0:35 2000 Delivered-To: freebsd-questions@freebsd.org Received: from thelab.hub.org (CDR8-44.accesscable.net [24.138.8.44]) by hub.freebsd.org (Postfix) with ESMTP id 5B04637B4C5 for ; Wed, 18 Oct 2000 19:00:27 -0700 (PDT) Received: from localhost (scrappy@localhost) by thelab.hub.org (8.11.1/8.11.1) with ESMTP id e9J1wmO07625; Wed, 18 Oct 2000 22:58:48 -0300 (ADT) (envelope-from scrappy@hub.org) X-Authentication-Warning: thelab.hub.org: scrappy owned process doing -bs Date: Wed, 18 Oct 2000 22:58:48 -0300 (ADT) From: The Hermit Hacker To: Chris Browning Cc: freebsd-questions@FreeBSD.ORG Subject: Re: dhclient.conf and setting dynamic dns ... In-Reply-To: <39EE5209.A013394A@prokyon.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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