From owner-freebsd-questions Wed Oct 18 19:13:29 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail4.lig.bellsouth.net (mail4.lig.bellsouth.net [205.152.0.32]) by hub.freebsd.org (Postfix) with ESMTP id 9984E37B4C5 for ; Wed, 18 Oct 2000 19:13:26 -0700 (PDT) Received: from prokyon.com (adsl-61-148-46.int.bellsouth.net [208.61.148.46]) by mail4.lig.bellsouth.net (3.3.5alt/0.75.2) with ESMTP id VAA10978; Wed, 18 Oct 2000 21:46:01 -0400 (EDT) Message-ID: <39EE5209.A013394A@prokyon.com> Date: Wed, 18 Oct 2000 21:44:41 -0400 From: Chris Browning X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: The Hermit Hacker Cc: freebsd-questions@FreeBSD.ORG Subject: Re: dhclient.conf and setting dynamic dns ... References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 ------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message