Re: /etc/hosts (or NIS host map): official-host-name vs nicknames
From: Barry Margolin (barry.margolin@level3.com)
Date: 04/08/03
- Next message: uranion: "Upgrade to solaris 8"
- Previous message: Chris Thomas: "Re: DISK CONTROLLERS V880"
- In reply to: al: "/etc/hosts (or NIS host map): official-host-name vs nicknames"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: Barry Margolin <barry.margolin@level3.com> Date: Tue, 08 Apr 2003 14:11:28 GMT
In article <cIska.56170$yh1.3499781@news1.east.cox.net>,
al <publicaccess@cox.net> wrote:
>I am setting up a couple of NIS domains on the same physical LAN. Will not
>be using DNS or
>connecting to the internet. Can someone explain to me:
>
>1) What the official-host-name is? Is it hostname or hostname | domainname?
>What are the pros
>and cons of using just the hostname for the official-host-name? What are
>the pros and cons
>of using hostname | domainname as the official-host-name?
If you're not using DNS and not connecting to the Internet, it doesn't
matter which you use. Fully-qualified names probably aren't even important
in such an environment, since you don't need to disambiguate across
different organizations.
However, it might be a good idea to use the qualified names anyway, in case
you connect to the Internet some time in the future.
>2) How is the official-host-name entry treated differently then the aliases
>entries?
>Do certain applications or os components use the official-host-name entry
>while others
>use the aliases entries?
When an application performs a reverse lookup, to translate an address back
into a name, it always returns the official-host-name. For instance, if
you use .rhosts files, the hostname in there must be an official-host-name
because the server will do a reverse lookup of the client address and then
search for it in the .rhosts file.
Other than that, I don't think there's any significant difference between
the official name and the aliases.
-- Barry Margolin, barry.margolin@level3.com Genuity Managed Services, a Level(3) Company, Woburn, MA *** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups. Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
- Next message: uranion: "Upgrade to solaris 8"
- Previous message: Chris Thomas: "Re: DISK CONTROLLERS V880"
- In reply to: al: "/etc/hosts (or NIS host map): official-host-name vs nicknames"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|