Re: Proposed new scheme for resolving the system hostname

2005-06-17 Thread GOMBAS Gabor
On Thu, Jun 16, 2005 at 09:38:44PM +0200, Thomas Hood wrote: > I don't mean that. I mean that when you do gethostbyname() on the > system hostname, the h_name you get back is either the system hostname > or the system hostname with a domain name suffix. What do you mean by "system hostname"? If

Re: Proposed new scheme for resolving the system hostname

2005-06-16 Thread Wichert Akkerman
Previously Thomas Hood wrote: > On Thu, 2005-06-16 at 21:07 +0200, Wichert Akkerman wrote: > > I'm not quite sure what you mean here. If you mean the system should > > always use a fixed hostname > > I don't mean that. I mean that when you do gethostbyname() on the > system hostname, the h_name y

Re: Proposed new scheme for resolving the system hostname

2005-06-16 Thread Thomas Hood
On Thu, 2005-06-16 at 21:07 +0200, Wichert Akkerman wrote: > Previously Thomas Hood wrote: > > First of all, the system hostname should always be its own canonical > > hostname in the sense of hosts(5), unless the system has a static > > domain name, in which case the canonical hostname should be t

Re: Proposed new scheme for resolving the system hostname

2005-06-16 Thread Wichert Akkerman
Previously Thomas Hood wrote: > First of all, the system hostname should always be its own canonical > hostname in the sense of hosts(5), unless the system has a static > domain name, in which case the canonical hostname should be the FQDN > formed from the system hostname and the domain name. I'm