- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Easy one! How do I change the domain name - HP-UX...
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp
Knowledge Base
Discussions
Forums
Discussions
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
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
04-22-2002 10:21 AM
04-22-2002 10:21 AM
Easy one! How do I change the domain name - HP-UX 10.20
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2002 10:24 AM
04-22-2002 10:24 AM
Re: Easy one! How do I change the domain name - HP-UX 10.20
Try this:
# domainname
This command will set or display the domain name for your server. See man pages for details.
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2002 10:29 AM
04-22-2002 10:29 AM
Re: Easy one! How do I change the domain name - HP-UX 10.20
Use
set_parms hostname
and put in the fully qualified hostname
EX host.company.com
Then check the /etc/hosts file & make sure that it's correct in there - including aliases.
Then check /etc/rc.config.d & verify the hostname field there also. Edit as necessary.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2002 10:32 AM
04-22-2002 10:32 AM
Re: Easy one! How do I change the domain name - HP-UX 10.20
/etc/rc.config.d/netconf
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2002 10:33 AM
04-22-2002 10:33 AM
Re: Easy one! How do I change the domain name - HP-UX 10.20
You can try the following ways :
1.set_params hostname .
2 sam
Also ensure that the name is changed in DNS server if you are using that to resolve name externally .
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2002 10:36 AM
04-22-2002 10:36 AM
Re: Easy one! How do I change the domain name - HP-UX 10.20
search domainname.com
line to the proper domain(s)so that short hostname searches will be appended with the proper domain name.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2002 12:50 PM
04-22-2002 12:50 PM
Re: Easy one! How do I change the domain name - HP-UX 10.20
#domainname is nis domain not a dns domain.
For dns domain you just have to change /etc/resolv.conf file or use sam or set_parms hostname
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2002 01:39 PM
04-22-2002 01:39 PM
Re: Easy one! How do I change the domain name - HP-UX 10.20
1. issue domainname command with desired domain name e.g for hp.com
# domainname hp.com
2. you can directly edit the file and specify domainname where NIS_DOMAINNAME variable present in file - /etc/rc.config.d/namesvrs
Thanks,
-pap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2002 02:34 PM
04-22-2002 02:34 PM
Re: Easy one! How do I change the domain name - HP-UX 10.20
I am sure that domainname is nis domain name not a dns domainname.
Am I missing something?
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2002 02:49 PM
04-22-2002 02:49 PM
Re: Easy one! How do I change the domain name - HP-UX 10.20
domainname is NIS-specific.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2002 08:14 AM
04-23-2002 08:14 AM
Re: Easy one! How do I change the domain name - HP-UX 10.20
The trouble seems to be on sendmail and not on the host.
Sometimes sendmail has in it's configuration the domain name.
In this case, edit /etc/sendmail.cf or /etc/mail/sendmail.cf in order to change Dj to your new domain name.
Then your emails will come with the new domain name.
Of course, if you know a little about sendmail, it's better to configure your sendmail.cf with m4 and your own sendmail.mc. Check in this file if the domain name is fixed ?
hope it may help
benoit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2002 08:18 AM
04-23-2002 08:18 AM
Re: Easy one! How do I change the domain name - HP-UX 10.20
'domainname' is NIS specific.
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2002 09:48 AM
04-23-2002 09:48 AM
Re: Easy one! How do I change the domain name - HP-UX 10.20
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2002 02:15 AM
04-24-2002 02:15 AM
Re: Easy one! How do I change the domain name - HP-UX 10.20
You should ask this question in the networking forum, because it may be solved in sendmail and not on the system.
regards
Benoit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2002 03:02 AM
04-24-2002 03:02 AM
Re: Easy one! How do I change the domain name - HP-UX 10.20
This is all needed for sendmail to work with
your new domain name.
edit /etc/resolv.conf
domainname "your_new_dns_domain"
edit /etc/sendmail.cf
1)append your new domain name with your hostname
in Cw macro.
eg:-
Cwlocalhost myhost.newdomain.com
2)
DL"your_new_domain"
eg:-
DLnewdomain.com
restart the sendmail.
regards,
U.SivaKumar