From owner-freebsd-questions@FreeBSD.ORG Sun Feb 1 12:24:44 2004 Return-Path: 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 5806316A4CE for ; Sun, 1 Feb 2004 12:24:44 -0800 (PST) Received: from netserver1.shoregroup.com (unused-66-218-0-62.usadatanet.net [66.218.0.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1EB9E43D31 for ; Sun, 1 Feb 2004 12:24:23 -0800 (PST) (envelope-from ecarmody@shoregroup.com) Received: from edsdell8200 (syr-93.shoregroup.com [64.9.46.93]) i11KOLoP014539 for ; Sun, 1 Feb 2004 15:24:22 -0500 From: "Edward Carmody" To: Date: Sun, 1 Feb 2004 15:24:05 -0500 Message-ID: <007a01c3e901$5a4ada80$3268a8c0@edsdell8200> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: FW: FBSD router/firewall with dhclient & dhcpd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Feb 2004 20:24:44 -0000 Hi, I'm trying to replace my Linksys router/firewall/nat box with a FreeBSD box...I'm in the configuring/testing phase before I put it into production... My *potential* problem is that my ISP (Cablevision) re-addresses their DNS servers often. My question is: is there a way to dynamically update the "option domain-name-servers" values in dhcpd.conf from the "nameserver" values my ISP-facing, dhclient-using interface is writing into "resolv.conf"? Or, more simply, how can my DHCP server hand out *known-fresh-and-good* ISP dns server addresses gathered from the wan-facing dhcp client?? The linksys box I have now does this auto-magically... ;-) Info the FreeBSD box: -FreeBSD Oberon 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Thu Jun 5 02:55:42 GMT 2003 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GEN ERIC i386 -I have dhclient running correctly on my to-be-ISP-facing interface (tested using a Cisco 2620 as dhcp server); -I have dhcpd running correctly on my LAN-facing interface (currently serving all home LAN clients); -I have verified that routed is exchanging RIP updates with an internal Cisco 2620 (I run multiple VLANs internally); will have to get VLANs running on FreeBSD later... -I think natd is set up correctly, haven't tested yet; -I have ipfw running full-open for internal testing on home LAN. All help is appreciated...thanks! Ed C.