simulating dnsdomain

2010-01-20 Thread Aryeh M. Friedman
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

Re: simulating dnsdomain

2010-01-20 Thread Paul Schmehl
--On January 21, 2010 12:10:20 AM -0500 Aryeh M. Friedman aryeh.fried...@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