From owner-freebsd-questions@FreeBSD.ORG Fri Apr 27 23:29:37 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 630E316A402 for ; Fri, 27 Apr 2007 23:29:37 +0000 (UTC) (envelope-from xrayv19@yahoo.com) Received: from web58103.mail.re3.yahoo.com (web58103.mail.re3.yahoo.com [68.142.236.126]) by mx1.freebsd.org (Postfix) with SMTP id 010D713C46C for ; Fri, 27 Apr 2007 23:29:36 +0000 (UTC) (envelope-from xrayv19@yahoo.com) Received: (qmail 84741 invoked by uid 60001); 27 Apr 2007 23:29:36 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=how2arqJESLahStxasK2obuXhb4CB9vIsFkyd4NbiSgD96YZYPQEgWzOXDpFULdM1ayaaQp3sR9d7RUxcddU3DFYezXmlzaeCGicXsuQuKJBh5w/PcFcB3O/LJQD7z40CbjCL6xwt4/ft6nNUw+4W9Qe316d/qopIVqYjqfWdak=; X-YMail-OSG: Kpcml4IVM1kIm.kgXxKzOylWitSwvlHTZDsit2WdQfysz8f3dmk5JxNq21eQ1YJ3rFIEAR82Zt.HzD1afPrMi36oE0o9uGR0zS1avmoGgKULgyIhwVSdaBaZs.ka0XXj Received: from [131.191.24.2] by web58103.mail.re3.yahoo.com via HTTP; Fri, 27 Apr 2007 16:29:36 PDT Date: Fri, 27 Apr 2007 16:29:36 -0700 (PDT) From: L Goodwin To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <410393.84154.qm@web58103.mail.re3.yahoo.com> Subject: DHCP client configuration on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Apr 2007 23:29:37 -0000 When I ran the DHCP client configuration tool on FreeBSD 6.2, it added a new hostname variable to /etc/rc.conf below existing the hostname var (it did not remove or comment-out the old hostname variable). The NEW hostname includes the ISP's domain name: hostname="dhcppc0." This hostname differs from the hostname listed in the router's DHCP table "dhcpp0" (no domain name). It also shows unique IP addresses and MAC addresses for all hosts on the LAN. I can ping the IP address assigned to the FreeBSD system, but ping and net lookup fail when its hostname is specified (both with and without the domain name). Questions: 1) Why did the hostname get changed (does not occur for Windows clients)? 2) Why does the hostname in /etc/rc.conf contain the DNS domain name? 3) How do I resolve this problem? Thanks! __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com