- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- How to force system to use full "hostname.domainna...
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- Report Inappropriate Content
10-11-2010 08:17 PM
10-11-2010 08:17 PM
I've already cleaned related item in /etc/hosts, but the alia is still workable. What else do I need to do?
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-11-2010 11:06 PM
10-11-2010 11:06 PM
SolutionDo you mean that you want to force the HP-UX
_users_ to specify fully qualified names?
cat /etc/resolv.conf
You can try throwing out the "domain"
directive, but that may not be enough.
Why would you want to do this? Are things
too convenient now?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-11-2010 11:18 PM
10-11-2010 11:18 PM
Re: How to force system to use full "hostname.domainname" instead of the alia "hostname"
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-11-2010 11:55 PM
10-11-2010 11:55 PM
Re: How to force system to use full "hostname.domainname" instead of the alia "hostname"
Hi chenn, Do you want to share with us how you did it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-12-2010 12:24 AM
10-12-2010 12:24 AM
Re: How to force system to use full "hostname.domainname" instead of the alia "hostname"
1. remove "grey.surg.sm.com" related item in /etc/hosts
2. remove "domain surg.sm.com" in /etc/resolv.conf if it has
ping target machine with hostname only will return fail in this condition.
#ping grey -n 1
#ping: unknown host grey
#
#
#ping grey.surg.sm.com <-- works OK
#
3. restore /etc/hosts
4. restore /etc/resolv.conf
This time, ping with hostname only:
#ping grey -n 1 <-- works OK
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP