From owner-freebsd-questions@FreeBSD.ORG Mon Nov 8 17:32:46 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 BD3CA16A4CE for ; Mon, 8 Nov 2004 17:32:46 +0000 (GMT) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5182743D1F for ; Mon, 8 Nov 2004 17:32:44 +0000 (GMT) (envelope-from fbsd-questions@trini0.org) Received: from hivemind.trini0.org (trini0.org[65.34.205.195]) by comcast.net (sccrmhc11) with ESMTP id <20041108173243011002smh8e>; Mon, 8 Nov 2004 17:32:43 +0000 Received: from [192.168.0.19] (unknown [192.168.0.19]) by hivemind.trini0.org (Postfix) with ESMTP id 4081C166 for ; Mon, 8 Nov 2004 12:32:43 -0500 (EST) Message-ID: <418FADBC.6090907@trini0.org> Date: Mon, 08 Nov 2004 12:32:44 -0500 From: Gerard Samuel User-Agent: Mozilla Thunderbird 0.8 (X11/20041015) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsdquestions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: 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 17:32:46 -0000 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 --