From owner-freebsd-questions@FreeBSD.ORG Tue May 24 22:15:08 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 0E7AA16A41C for ; Tue, 24 May 2005 22:15:08 +0000 (GMT) (envelope-from bazzoola@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id A14A343D1F for ; Tue, 24 May 2005 22:15:05 +0000 (GMT) (envelope-from bazzoola@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so2516653wra for ; Tue, 24 May 2005 15:15:05 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=TRfig40kwv4Dw2PNOqQDS/ASf+Kr3disU7w2NGDv5Wr+ktpYh9W3OfcjAGgQAGddbTh/9zNXg+HWQxsTn1QNF1X8Ct9UeWgjeLJlz2M7AWRqUhCJ7slbbsLRTOFB13W+JBGE8Z0NAdGCTeIZloGlXGtnELj3OYIVQAOsnCDmqZ4= Received: by 10.54.33.80 with SMTP id g80mr4518808wrg; Tue, 24 May 2005 15:15:04 -0700 (PDT) Received: from ?180.0.7.97? ([205.153.101.8]) by mx.gmail.com with ESMTP id 45sm284858wri.2005.05.24.15.15.04; Tue, 24 May 2005 15:15:04 -0700 (PDT) Message-ID: <4293A79F.5090909@gmail.com> Date: Tue, 24 May 2005 17:15:59 -0500 From: bazzoola User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: fbsd_user@a1poweruser.com Subject: Re: hostname and domains 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: Tue, 24 May 2005 22:15:08 -0000 fbsd_user wrote: >What does the hostname command on the FreeBSD box return when you >enter it on the command line? > >-----Original Message----- >From: owner-freebsd-questions@freebsd.org >[mailto:owner-freebsd-questions@freebsd.org]On Behalf Of bazzoola >Sent: Tuesday, May 24, 2005 5:55 PM >To: freebsd-questions@freebsd.org >Subject: hostname and domains > > >Greetings, > >I have Three workstations all of them are pretty much setup the same >way. All of them use DHCP and all of them connect to the same server >(I >do not know what is it running as of now) > >The first workstation is Windows XP. It receives its IP and hostname >correct basically I get 10.0.0.201 and winxp.mydomain.com as a >hostname >both host and IP resolve to each other correctly >The second workstation is Mac OS X. It receives similar enough >10.0.0.202 and macosx.mydomain.com as a hostname both IP and >hostname >resolve to each other correctly. >The third which is a FreeBSD 5.4-Release receives an IP address >10.0.0.203 but does not get a hostname. Well the hostname is setup >in >rc.conf as bsd01 but the DNS in the domain is not aware of it for >some >reason. >The NS can resolve macosx and winxp but it cannot resolve the >hostname >for bsd01. > >Any thoughts what is going here? > >Thanks in advance, >bazzoola > >_______________________________________________ >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" > > > > hostname command returns bsd01.mydomain.com which is the same value I have in rc.conf but the command host bsd01 ....... gives % host bsd01.mydomain.com Host bsd01.mydomain.com not found: 3(NXDOMAIN) unlike winxp and macosx. bsd01 does not return the IP :( bazzoola