- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: hostname
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
тАО02-02-2008 07:05 AM
тАО02-02-2008 07:05 AM
Re: hostname
OK. All the information about nsswtch.conf and nslookup have nothing to do with your PC. These directions are only for pinging from your HP-UX server to another location. You need to contact your network or WINS/DNS administrator and ask that your HP-UX server's hostname be added. That way, your PC will then know the server's hostname. You can also edit the PC's hosts file but that may be bypassing a process in your company for maintaining all the host names.
I noticed in your HP-UX nsswitch.conf file that it is using NIS, a centralized server containing a lot of network information. Perhaps the administrator of the NIS server can help with WIND/DNS for your PC.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2008 01:26 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2008 11:37 PM
тАО02-02-2008 11:37 PM
Re: hostname
I am pinging from my windows o/s system
this is the output of resolv.conf file and the nsswitch.conf file
and nslooup ip output is also u can see below
# cat /etc/resolv.conf
nameserver 10.65.60.100
# nslookup 10.65.65.11
Using /etc/hosts on: society1
looking up FILES
Name: society1
Address: 10.65.65.11
# cat /etc/nsswitch.conf
#
# /etc/nsswitch.hp_defaults:
#
# @(#)B11.23_LR
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# uses NIS (YP) in conjunction with files.
#
passwd: compat
group: compat
hosts: files [NOTFOUND=return] nis [NOTFOUND=return]
ipnodes: dns [NOTFOUND=return] files
networks: nis [NOTFOUND=return] files
protocols: nis [NOTFOUND=return] files
rpc: nis [NOTFOUND=return] files
publickey: nis [NOTFOUND=return] files
netgroup: nis [NOTFOUND=return] files
automount: files nis
aliases: files nis
services: nis [NOTFOUND=return] files
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2008 11:09 AM
тАО02-03-2008 11:09 AM
Re: hostname
C:\WINDOWS\system32\drivers\hosts
Just add your hostname to that file, like this:
12.34.56.78 myhostname
This is strictly your PCs configuration. Nothing needs changing in the HP-UX system.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2008 11:11 PM
тАО02-03-2008 11:11 PM
Re: hostname
C:\WINDOWS\system32\drivers\hosts
On my XP it is:
C:\WINDOWS\system32\drivers\etc\hosts
(There are a bunch of other UNIX style networking files there too.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2008 11:54 PM
тАО02-04-2008 11:54 PM
Re: hostname
thank u once again? one more clarification
suppose more peoples are using from their own pc then we have to manually edit in all pcs?
sajjad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2008 12:34 AM
тАО02-05-2008 12:34 AM
Re: hostname
It was mentioned several times that if you can set up a DNS server with those FQDN/IP mappings, then everyone can access those machines.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2008 03:33 AM
тАО02-05-2008 03:33 AM
Re: hostname
I have four unix servers I ddin't edit /etc/hosts files in windows
but i can ping hostname in 2 servers they are hp_da1 and hp_da2
but my problem is i can' tping hostname
in the other two
without editing anything in windows i can ping hostname of two servers and i can't ping hostname of two servers how to manage it
if i am editing in windows /etc/hosts file
every system i can ping wiht hostname no problem but in unix platform how i can manage these issue in my two servers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2008 03:42 AM
тАО02-05-2008 03:42 AM
Re: hostname
Are they on the same subnet and the other two aren't?
Were only two added to the DNS before?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2008 04:24 AM
тАО02-05-2008 04:24 AM
Re: hostname
-oo-