[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug in hostname
From: |
Paul Jarc |
Subject: |
Re: bug in hostname |
Date: |
Sun, 25 Jan 2004 21:16:32 -0500 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux) |
Bruno Haible <address@hidden> wrote:
> Then why is does gethostbyname() return one of the names as h->h_name,
> and the others as h->h_aliases[] ? What's the criterion that makes h->h_name
> the "primary" one?
Well, there need not be a primary name at DNS level, but there can
be. If there isn't, I'd guess one would be chosen arbitrarily.
paul
- Re: bug in hostname, (continued)
- Re: bug in hostname, Jim Meyering, 2004/01/21
- Re: bug in hostname, Bob Proulx, 2004/01/23
- Re: bug in hostname, Jim Meyering, 2004/01/23
- Re: bug in hostname, Bruno Haible, 2004/01/23
- Re: bug in hostname, Jim Meyering, 2004/01/23
- Re: bug in hostname, Bruno Haible, 2004/01/23
- Re: bug in hostname, Paul Jarc, 2004/01/23
- Re: bug in hostname, Bob Proulx, 2004/01/24
- Re: bug in hostname, Paul Jarc, 2004/01/24
- Re: bug in hostname, Bruno Haible, 2004/01/25
- Re: bug in hostname,
Paul Jarc <=