From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 05:17:42 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 069141065679 for ; Thu, 21 Jan 2010 05:17:42 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from cdptpa-omtalb.mail.rr.com (cdptpa-omtalb.mail.rr.com [75.180.132.122]) by mx1.freebsd.org (Postfix) with ESMTP id C1EC68FC16 for ; Thu, 21 Jan 2010 05:17:41 +0000 (UTC) X-Authority-Analysis: v=1.0 c=1 a=pGLkceISAAAA:8 a=tC9jyREGAabDcMw2_M4A:9 a=_6XnWUlBpNvWmQ_G92EA:7 a=a-XSXi469vI_Pb9PDizLbE0JlqQA:4 a=MSl-tDqOz04A:10 X-Cloudmark-Score: 0 X-Originating-IP: 76.184.157.127 Received: from [76.184.157.127] ([76.184.157.127:63735] helo=[10.0.0.3]) by cdptpa-oedge02.mail.rr.com (envelope-from ) (ecelerity 2.2.2.39 r()) with ESMTP id 55/DE-01403-573E75B4; Thu, 21 Jan 2010 05:17:41 +0000 Date: Wed, 20 Jan 2010 23:17:40 -0600 From: Paul Schmehl To: "Aryeh M. Friedman" , freebsd-questions@freebsd.org Message-ID: <0AD343F8101783C0841D7508@Macintosh-2.local> In-Reply-To: <4B57E1BC.9060708@gmail.com> References: <4B57E1BC.9060708@gmail.com> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Re: simulating dnsdomain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 05:17:42 -0000 --On January 21, 2010 12:10:20 AM -0500 "Aryeh M. Friedman" wrote: > I have an application that needs to reliably get the fully qualified dns > name for the localhost (3rd party app so I don't want to change it > unless I have to).... currrently it calls dnsdomainname which is in > linux is an alias for hostname --fqdn but FreeBSD does not have that > option set... how can I simulate this? ln -s /bin/hostname /bin/dnsdomainname Paul Schmehl, If it isn't already obvious, my opinions are my own and not those of my employer. ****************************************** WARNING: Check the headers before replying