[EMAIL PROTECTED] (Bob Proulx) wrote:
> But the -f, --fqdn in particular must use DNS if the real hostname
> is not already fully qualified.

Well, that's one way it can try to go about it.  There's also
getdomainname(), on systems that have it, or uname().  One might also
argue that it would be reasonable to just fail or give the short name
- i.e., it's the admin's responsibility to make "hostname -f" work, by
setting the kernel's hostname to the fqdn.

> This is one of the reasons that personally I prefer setting the
> hostname to the fully qualifed domain name.  It just seems cleaner.
> There is no ambiguity.

Yep.


paul


_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to