On Thu, 2008-02-14 at 10:36 -0500, Guy Hulbert wrote:
> Looks as if changing `hostname` to `hostname -f` in the code would be
> the correct fix.

Apparently I am incorrect here.  Sorry about that.

IIRC, there is not a universal way on solaris to get the FQDN.  The
'domainname' command is to get the NIS/NIS+ domain name and this is true
on linux too AFAIK.  There is a 'dnsdomainname' command on Solaris, iirc
so perhaps that will do it.  However, according to this thread, there is
no standard cross-platform way to use 'hostname'.

-- 
--gh


Reply via email to