Re: where is /etc/hosts supposed to come from?
On Thu, Dec 31, 2009 at 02:02:36PM +0100, Vincent Lefevre wrote:
> POSIX says:
>
> If the AI_CANONNAME flag is specified and the nodename argument is
> not null, the function shall attempt to determine the canonical name
> corresponding to nodename (for example, if nodename is an alias or
> shorthand notation for a complete name).
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> So, it isn't intended to be a short name. As this is mostly
> implementation defined, it may be difficult to be very accurate.
Where does the above say it must be a FQDN ? It says that *for example*,
*if* nodename is blah blah. So, what if the nodename is *not* that ?
(which it is not on a lot of hosts)
Mike
Reply to: