From owner-freebsd-questions Thu Jan 9 10:59:50 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E0C737B401 for ; Thu, 9 Jan 2003 10:59:48 -0800 (PST) Received: from pd5mo1so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF58043F18 for ; Thu, 9 Jan 2003 10:59:47 -0800 (PST) (envelope-from cyschow@shaw.ca) Received: from pd4mr3so.prod.shaw.ca (pd4mr3so-qfe3.prod.shaw.ca [10.0.141.214]) by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002)) with ESMTP id <0H8G0011YNFME5@l-daemon> for freebsd-questions@freebsd.org; Thu, 09 Jan 2003 11:59:46 -0700 (MST) Received: from pn2ml8so.prod.shaw.ca (pn2ml8so-qfe0.prod.shaw.ca [10.0.121.152]) by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.6 (built Apr 26 2002)) with ESMTP id <0H8G0024ZNFMJ3@l-daemon> for freebsd-questions@freebsd.org; Thu, 09 Jan 2003 11:59:46 -0700 (MST) Received: from mail.peyto.ca (h68-147-174-254.cg.shawcable.net [68.147.174.254]) by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002)) with SMTP id <0H8G008K1NFMED@l-daemon> for freebsd-questions@freebsd.org; Thu, 09 Jan 2003 11:59:46 -0700 (MST) Received: (qmail 74319 invoked from network); Thu, 09 Jan 2003 19:05:25 +0000 Received: from firewall.peyto.ca (HELO SAMCHOW2) (192.168.1.1) by homeserver.peyto.ca with SMTP; Thu, 09 Jan 2003 19:05:25 +0000 Date: Thu, 09 Jan 2003 12:03:26 -0700 From: Samuel Chow Subject: Re: DNS and DHCPD To: lattera@softhome.net Cc: freebsd-questions@freebsd.org Message-id: <019101c2b811$cb3ad320$8142412f@SAMCHOW2> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 X-Mailer: Microsoft Outlook Express 5.50.4807.1700 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT X-Priority: 3 X-MSMail-priority: Normal References: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ----- Original Message ----- From: > I was wondering how to set the domainname servers option in my dhcpd.conf > dynamically. Like, it would get edited each time upon bootup, and before > dhcpd even loads. If I understand this correctly, you want the DNS server IP address received from your ISP by dhclient to be propagated to all your machines on your internal network. man dhclient-script Whenever dhclient receives new configuration, it will call exit-hook. Update your dhcpd.conf at that point and restart dhcpd. You do realize you cannot push the new configuration out to your other machines. They only receive the new configuration when they renew their lease. Hope this helps. --- Samuel Chow cyschow@shaw.ca This message is displayed using recycled electrons. Segmentation Fault (core dumped) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message