From owner-freebsd-questions@FreeBSD.ORG Mon Nov 8 18:08:21 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 8C53B16A527 for ; Mon, 8 Nov 2004 18:08:19 +0000 (GMT) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7580043D41 for ; Mon, 8 Nov 2004 18:08:19 +0000 (GMT) (envelope-from gsam@trini0.org) Received: from hivemind.trini0.org (trini0.org[65.34.205.195]) by comcast.net (rwcrmhc11) with ESMTP id <2004110818081801300c41qoe>; Mon, 8 Nov 2004 18:08:18 +0000 Received: from [192.168.0.19] (unknown [192.168.0.19]) by hivemind.trini0.org (Postfix) with ESMTP id BC4BF166 for ; Mon, 8 Nov 2004 13:08:17 -0500 (EST) Message-ID: <418FB613.1000708@trini0.org> Date: Mon, 08 Nov 2004 13:08:19 -0500 From: Gerard Samuel User-Agent: Mozilla Thunderbird 0.8 (X11/20041015) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsdquestions References: <418FADBC.6090907@trini0.org> In-Reply-To: <418FADBC.6090907@trini0.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: FreeBSD DHCP client not working with dynamic DNS 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: Mon, 08 Nov 2004 18:08:21 -0000 Gerard Samuel wrote: > Box 1: Firewall/DHCP Server/DNS (FreeBSD 5.3) > Box 2: DHCP Client (FreeBSD 5.3R2) > > When I boot Box 2, it gets its IP address, but DNS doesn't > get updated, so Box 2 is unknown to the LAN via its hostname. > If I boot a windows box (tested with 2000/XP), and I've tested with a > networked printer, they get an IP address, and DNS is updated > for those devices. > > Any help would be appreciated. > Thanks > > --- > Box 1 > > /usr/local/etc/dhcpd.conf > -- > option domain-name "trini0.org"; > option domain-name-servers 192.168.0.1; > option subnet-mask 255.255.255.0; > > default-lease-time 3600; > max-lease-time 86400; > > subnet 192.168.0.0 netmask 255.255.255.0 { > range 192.168.0.10 192.168.0.20; > option routers 192.168.0.1; > } > > # DNS > ddns-update-style interim; > ddns-domainname "trini0.org"; > ddns-rev-domainname "in-addr.arpa"; > > key DHCP_UPDATER { > algorithm HMAC-MD5.SIG-ALG.REG.INT; > secret my_key; > }; > > zone trini0.org. { > primary 192.168.0.1; > key DHCP_UPDATER; > } > > zone 0.168.192.in-addr.arpa. { > primary 192.168.0.1; > key DHCP_UPDATER; > } > -- > > /var/named/etc/namedb/named.conf > -- snip -- > key DHCP_UPDATER { > algorithm HMAC-MD5.SIG-ALG.REG.INT; > secret my_key; > }; > > zone "." { > type hint; > file "named.root"; > }; > > zone "0.0.127.IN-ADDR.ARPA" { > type master; > file "master/localhost.rev"; > }; > > zone "trini0.org" { > type master; > file "master/trini0.org"; > allow-update { key DHCP_UPDATER; }; > }; > > zone "0.168.192.in-addr.arpa" { > type master; > file "master/trini0.org.rev"; > allow-update { key DHCP_UPDATER; }; > }; > -- snip -- > > > Box 2 > -- > /etc/rc.conf > -- snip -- > ifconfig_fxp0="DHCP" > -- snip -- Im changing my example of Box 2's /etc/rc.conf as its pertinent -> hostname="gladiator.trini0.org" ifconfig_fxp0="DHCP"