- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Quick Question for /etc/hosts file
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2010 10:57 AM
тАО07-01-2010 10:57 AM
Quick Question for /etc/hosts file
We are running HPUX 11.31 on rx2660
10.0.0.1 host1 host1.domain.com
of
10.0.0.1 host1.domain.com host1
btw, the host1 is our server hostname
Anyone?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2010 11:15 AM
тАО07-01-2010 11:15 AM
Re: Quick Question for /etc/hosts file
If you don't intent to use
remsh host1
from host2 without password request, both formats are OK.
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2010 11:23 AM
тАО07-01-2010 11:23 AM
Re: Quick Question for /etc/hosts file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2010 11:30 AM
тАО07-01-2010 11:30 AM
Re: Quick Question for /etc/hosts file
Strictly speaking the 'hosts' format is:
internet_address official_host_name aliases
Thus in your case:
10.0.0.1 host1.domain.com host1
Regardless of the order you choose, if you must support a '.rhosts' file, simply include the simple and the fully qualified name entries.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2010 12:49 PM
тАО07-01-2010 12:49 PM
Re: Quick Question for /etc/hosts file
So, if your program looks up any of the
names, then it will get back the same
address. But if your program looks up the
address, then it will get back the first
("official") name. Whether this matters may
depend on what your program expects to do
with the name.
For example, I seem to recall some old
version(s) of sendmail (on some OS or other)
getting upset if the fully qualified name was
not the first name.
> [...] simply include the simple and the
> fully qualified name entries.
Or run the experiment to see which one works.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2010 12:54 PM
тАО07-01-2010 12:54 PM