From owner-freebsd-questions@FreeBSD.ORG Mon Nov 8 20:52:55 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 EF45D16A4CE for ; Mon, 8 Nov 2004 20:52:54 +0000 (GMT) Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id F2EF943D45 for ; Mon, 8 Nov 2004 20:52:53 +0000 (GMT) (envelope-from Emanuel.Strobl@gmx.net) Received: (qmail 2038 invoked by uid 65534); 8 Nov 2004 20:52:52 -0000 Received: from flb.schmalzbauer.de (EHLO cale.flintsbach.schmalzbauer.de) (62.245.232.135) by mail.gmx.net (mp026) with SMTP; 08 Nov 2004 21:52:52 +0100 X-Authenticated: #301138 From: Emanuel Strobl To: freebsd-questions@freebsd.org Date: Mon, 8 Nov 2004 21:52:43 +0100 User-Agent: KMail/1.7 References: <418FADBC.6090907@trini0.org> In-Reply-To: <418FADBC.6090907@trini0.org> X-OS: FreeBSD X-Birthday: 10/06/72 X-Address: Munich, 80686 X-Tel: +49 89 18947781 X-CelPhone: +49 173 9967781 X-Country: Germany MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2429809.N3AsI8C1da"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200411082152.49291.Emanuel.Strobl@gmx.net> cc: Gerard Samuel 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 20:52:55 -0000 --nextPart2429809.N3AsI8C1da Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Am Montag, 8. November 2004 18:32 schrieb Gerard Samuel: > 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. Add 'send host-name "gladiator";' to /etc/dhclient.conf or if you want to b= e=20 more correct: interface "em0" { send host-name "gladiator"; } Dont forget to change the em0 interface to what your interface really is. =2DHarry > > 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=3D"DHCP" > -- snip -- > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" --nextPart2429809.N3AsI8C1da Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBj9yhBylq0S4AzzwRAr3DAJ9v43nxfH5PRRw4iuwdSMJXYhz85wCeIP1t UdpciiC5LdjWI2TjtPcn6yw= =BmoW -----END PGP SIGNATURE----- --nextPart2429809.N3AsI8C1da--