Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jan 2010 23:17:40 -0600
From:      Paul Schmehl <pschmehl_lists@tx.rr.com>
To:        "Aryeh M. Friedman" <aryeh.friedman@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: simulating dnsdomain
Message-ID:  <0AD343F8101783C0841D7508@Macintosh-2.local>
In-Reply-To: <4B57E1BC.9060708@gmail.com>
References:  <4B57E1BC.9060708@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--On January 21, 2010 12:10:20 AM -0500 "Aryeh M. Friedman" 
<aryeh.friedman@gmail.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0AD343F8101783C0841D7508>