- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to change hostname and 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
07-30-2002 04:57 PM
07-30-2002 04:57 PM
how to change hostname and domain name ?
I want to change dns server's hostname and
domain name .
I modified /etc/hosts , /etc/resolv.conf
I restarted the named daemon .
But when I use nslookup command check the domain
I discovered there is no change in hostname.
how can i do ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2002 05:17 PM
07-30-2002 05:17 PM
Re: how to change hostname and domain name ?
you can change hostname,
follow instruction:
# vi /etc/hosts (hostname change)
# /sbin/init.d/hostname start
# nslookup your_hostname
after, confirm the /etc/nsswitch.conf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2002 05:20 PM
07-30-2002 05:20 PM
Re: how to change hostname and domain name ?
you can change hostname,
follow instruction:
# vi /etc/hosts (hostname change)
# /sbin/init.d/hostname start
# nslookup your_hostname
after, confirm the /etc/nsswitch.conf file
also you can change resolution suffix
#vi /etc/nsswitch.conf
hosts: files [NOTFOUND=continue] dns
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2002 05:21 PM
07-30-2002 05:21 PM
Re: how to change hostname and domain name ?
set_parms
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2002 05:21 PM
07-30-2002 05:21 PM
Re: how to change hostname and domain name ?
Also change /etc/rc.config.d/netconf file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2002 11:04 PM
07-30-2002 11:04 PM
Re: how to change hostname and domain name ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2002 06:21 AM
08-01-2002 06:21 AM
Re: how to change hostname and domain name ?
set_parms initial.
That will take care of the sytem you are on. You didn't mention if that system is your DNS server also? If so you will have to look at /etc/named.boot to get the path to the db files and change the forward and reverse entries for the system there. Don't forget to restart named to re-read the newly edited db files.
If the DNS server is on another system then you will have to contact the SA on that system to make the appropriate DNS DB settings on the DNS server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2002 06:52 AM
08-01-2002 06:52 AM
Re: how to change hostname and domain name ?
There is a feature in your profile that allows you to find previous Questions you have posted, which makes it easier to take care of this:
This member has assigned points to 0 of 18 responses to his/her questions.
http://forums.itrc.hp.com/cm/TopSolutions/1,,CA821024!1!questions,00.html
As Animesh as said, don't forget netconf file.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2002 09:03 AM
08-01-2002 09:03 AM
Re: how to change hostname and domain name ?
you can use set_parms
to set hostname
set_parms hostname
to set dns
set_parms addl_netwrk
Thanks & Regards
Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2002 09:10 AM
08-01-2002 09:10 AM
Re: how to change hostname and domain name ?
sorry I missed out this
you also can use SAM to set your netwoking parameters
to add host
Networking & Communication -> hosts
to add DNS
Networking & Communication -> DNS
Thanks & Regards
Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2002 09:22 AM
08-01-2002 09:22 AM
Re: how to change hostname and domain name ?
you need to cehck how the nslokup resolve its name .
Set it to check it /etc/hosts file first .
change the apropiate entrty in /etc/hosts
set_params hostname
reboot it
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2002 09:39 AM
08-01-2002 09:39 AM
Re: how to change hostname and domain name ?
and
/etc/hosts, /etc/resolv.conf
you can then do a /sbin/init.d/net stop
/sbin/init.d/net start
to reload the config.
set_parms will more or less do the same thing, but ask you to reboot.
Later,
Bill