- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: fully qualified name
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
тАО11-04-2009 03:09 AM
тАО11-04-2009 03:09 AM
fully qualified name
I have an intergrity server with hp-ux 11.23. In the /etc/hosts file i have hammer.mog.gov.gh as the fully qualified name for the server.
When i do "ping hammer" i get a good response. But when i do "ping hammer.mof.gov.gh" it tells me the hosts is unknown.
Can someone help me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2009 03:17 AM
тАО11-04-2009 03:17 AM
Re: fully qualified name
Is it a typo?
/etc/hosts/hammer.mog.gov.gh
Ping hammer.mof.gov.gh
mof of mog?
Regards,
Roland
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2009 03:26 AM
тАО11-04-2009 03:26 AM
Re: fully qualified name
Check out your nsswitch.conf and resolv.conf
/2r
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2009 03:37 AM
тАО11-04-2009 03:37 AM
Re: fully qualified name
hosts: dns [NOTFOUND=return] nis [NOTFOUND=return] files
First dns, then nis, and at last files (eg. /etc/hosts)
If so, I assume this would be more correct for you:
hosts: files [NOTFOUND=continue UNAVAIL=continue] dns [NOTFOUND=return UNAVAIL=continue TRYAGAIN=return]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2009 03:40 AM
тАО11-04-2009 03:40 AM
Re: fully qualified name
[ns]:# ping www.mof.gov.gh
PING mof.gov.gh (196.29.238.1) 56(84) bytes of data.
64 bytes from knet-196-29-238-1.elifegh.net (196.29.238.1): icmp_seq=1 ttl=49 time=178 ms
64 bytes from knet-196-29-238-1.elifegh.net (196.29.238.1): icmp_seq=2 ttl=50 time=176 ms
64 bytes from knet-196-29-238-1.elifegh.net (196.29.238.1): icmp_seq=3 ttl=51 time=176 ms
64 bytes from knet-196-29-238-1.elifegh.net (196.29.238.1): icmp_seq=4 ttl=51 time=175 ms
--- mof.gov.gh ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2998ms
rtt min/avg/max/mdev = 175.405/176.664/178.256/1.079 ms
[ns]:# ping hammer.mof.gov.gh
ping: unknown host hammer.mof.gov.gh
If you are the owner of the subdomain
mof.gov.gh
then you should update the corresponding zone of your DNS in order to let others know that you have a fully qualified name.
Otherwise, you will only be able to resolve locally the full name by adding this line to /etc/hosts:
hammer.mof.gov.gh 192.168.1.1
Modify the line to use your real IP address.
Best regards
Horia.
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2009 06:54 AM
тАО11-04-2009 06:54 AM
Re: fully qualified name
I have assigned points to 0 of 46 responses to my questions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2009 07:54 AM
тАО11-04-2009 07:54 AM
Re: fully qualified name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2009 09:46 AM
тАО11-04-2009 09:46 AM
Re: fully qualified name
lot of confusion between mog and mof. so, if you doing typo (either at command line or at /etc/hosts), then i hope you got it right now.
Else, check your /etc/nsswitch.conf that how is your hostname is getting resolved and change it to files (if you want to resolve it by /etc/hosts).