Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: Hostname questions
- To: tlug@example.com
- Subject: Re: Hostname questions
- From: Tobias Diedrich <ranma@example.com>
- Date: Tue, 17 Jul 2001 10:43:16 +0200
- Content-Disposition: inline
- Content-Type: text/plain; charset=us-ascii
- Delivered-To: tlug@example.com
- In-Reply-To: <20010717152412.C5321@example.com>
- List-Help: <mailto:tlug-request@example.comsubject=help>
- List-Post: <mailto:tlug@example.com>
- List-Subscribe: <mailto:tlug-request@example.comsubject=subscribe>
- List-Unsubscribe: <mailto:tlug-request@example.comsubject=unsubscribe>
- Mail-Followup-To: Tobias Diedrich <ranma@example.com>, tlug@example.com
- Old-Return-Path: <ranma@example.com>
- Reply-To: tlug@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <FISMxC.A.5jB.Sq_U7@example.com>
- Resent-Sender: tlug-request@example.com
- Sender: Tobias Diedrich <ranma@example.com>
- User-Agent: Mutt/1.3.18i
Thomas O'Dowd wrote: > The problem is where applications need to know how names map to ip addresses > and vice-versa. They make standard library calls to functions like > gethostbyaddr() to resolve names/addresses as they go a long, this library [...] It might be a good thing to add that you should use your Fully Qualified Domain Name followed by your short name in /etc/hosts because if /etc/host.conf and/or /etc/nsswitch.conf is set to look at hosts first and dns later the entry in /etc/hosts will be used by `hostname -f` to get the fully qualified domain name which won't work if it isn't there. So if the entry in /etc/hosts is m.y.i.p myhostname.domain.name myhostname hostname will return myhostname hostname -f will return myhostname.domain.name If the entry is just m.y.i.p myhostname hostname and hostname -f will both return myhostname -- Tobias PGP-Key: 0x9AC7E0BC echo ${SIGNATURE}
- References:
- Re: Hostname questions
- From: Thomas O'Dowd <tom@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: Netscape and Japanese
- Next by Date: Re: Hostname questions
- Prev by thread: Re: Hostname questions
- Next by thread: Re: Hostname questions
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links