- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Setting domain 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
Forums
Discussions
Discussions
Discussions
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
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
08-23-2001 12:14 PM
08-23-2001 12:14 PM
I have a HP9000 server with HPUX11.0. I need to set his domain. I set their DNS and when I ping a server, I have to put point (".") and domain name. If not I don't find it. I want to ping (like ping vsurjgg) without a domain and get the answer.
Thanx in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2001 12:17 PM
08-23-2001 12:17 PM
Re: Setting domain name
it will then prompt you for the hostname you want.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2001 12:27 PM
08-23-2001 12:27 PM
Re: Setting domain name
I'm no wizard with this stuff, but I think you set that in your /etc/hosts file. That is where we have ours set, like this
10.100.1.2 hostname.domainname.com hostname
Where the second hostname is an alias for the fully qualified name.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2001 12:30 PM
08-23-2001 12:30 PM
Re: Setting domain name
... and I put the name plus ".domain" ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2001 12:31 PM
08-23-2001 12:31 PM
Re: Setting domain name
... and I put the name plus ".domain" ?
like: vsurjgg.ind
where vsurjgg is a server name
and ind is a domain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2001 12:32 PM
08-23-2001 12:32 PM
Re: Setting domain name
insert the following line:
domain my.domain.com
...jcd...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2001 12:32 PM
08-23-2001 12:32 PM
Re: Setting domain name
If you are using both edit your etc/hosts,
/etc/hosts should contain a single line for each host with the
following information:
so if you have
192.168.XX.XX host.domain.net host joe
you will get to the ip with the names host.domain.net host or joe
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2001 12:35 PM
08-23-2001 12:35 PM
Re: Setting domain name
my line for hosts is
hosts: files [NOTFOUND=continue UNAVAIL=continue TRYAGAIN=continue] dns
so i look at files then dns.
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2001 12:36 PM
08-23-2001 12:36 PM
Solutionsystem.domain.com
or
system
you choose.
set_parms hostname will then update the /etc/hosts file for you automatically
you can then test it out by
ping system
or
ping system.domain.com
You can set the default domain name using
set_parms addl_netwrk
including the default domain
so if you only setup the hostname (system) without using the fully qualified domain name (system.domain.com), then it will add it for you automatically also in etc/hosts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2001 12:36 PM
08-23-2001 12:36 PM
Re: Setting domain name
domain
search < your_server_domain all_other_domain_to_search>
nameserver
Hope this helps
Dipak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2001 12:46 PM
08-23-2001 12:46 PM
Re: Setting domain name
Edit your /etc/resolv.conf file. The entries should look like this
search x.y.z
nameserver a.b.c.d
nameserver e.f.g.h
Here x.y.z is the domain where you are looking for the system. Also a.b.c.d is the IP address for name server in your domain. You can set upto three nameserver to be queried.
For more reference you can look thru HP manual : Installing and Administering Internet Services (HP Part No. B2355-90110). Look for Configuring and Administering the BIND Name Service ---> Configuring the Resolver to Query a Remote Name Server.
Hope this helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2001 12:59 PM
08-23-2001 12:59 PM
Re: Setting domain name
Add the aliases in /etc/hosts file.
198.132.1.2 host.domain.com. host
so command #ping host or
/etc/resolve.conf file should have your domain name defined. So even command #nslookup host will return proper name.
Thanks.
Prashant.