- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Enable qualify my own domain name( hostname) u...
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
01-07-2003 10:51 PM
01-07-2003 10:51 PM
Enable qualify my own domain name( hostname) use short name
in terminal? Does anyone know what happend
on the machine? Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2003 11:07 PM
01-07-2003 11:07 PM
Re: Enable qualify my own domain name( hostname) use short name
I guess you need to enter your fully qualified domain name (FQDN) in the /etc/hosts file.
100.100.333.444 server.
C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2003 11:07 PM
01-07-2003 11:07 PM
Re: Enable qualify my own domain name( hostname) use short name
Edit your /etc/resolv.conf file and /etc/nsswitch.conf files to allow your system to resolve its own name.
Do a "nslookup" and see if your system name is resolved properly.
# nslookup
> system_name
> system_ip_add
> exit
Here is a thread on configuring the resolver and the nsswitch.conf files.
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90147/B2355-90147_top.html&con=/hpux/onlinedocs/B2355-90147/00/00/28-con.html&toc=/hpux/onlinedocs/B2355-90147/00/00/28-toc.html&searchterms=resolver&queryid=20011101-081703
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90147/B2355-90147_top.html&con=/hpux/onlinedocs/B2355-90147/00/00/9-con.html&toc=/hpux/onlinedocs/B2355-90147/00/00/9-toc.html&searchterms=nsswitch.conf&queryid=20011101-081745
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2003 11:11 PM
01-07-2003 11:11 PM
Re: Enable qualify my own domain name( hostname) use short name
That's because sendmail cannot determine your domaine name :
- stop sendmail (/sbin/init.d/sendmail stop)
- edit /etc/mail/sendmail.cf and look for #Dj$w.Foo.COM line. change it to :
D$jw.
The trailing '.' is important !
- add an alias in you /etc/host file with your hostanme and a trailing '.' ie :
w.x.y.z host host.
- restart sendmail (/sbin/init.d/sendmail start)
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2003 11:13 PM
01-07-2003 11:13 PM
Re: Enable qualify my own domain name( hostname) use short name
Dj$w.
Check you /etc/resolv.conf file and /etc/nsswitch file to make sure they are resolved correctly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2003 11:13 PM
01-07-2003 11:13 PM
Re: Enable qualify my own domain name( hostname) use short name
Sorry but my recommandations are only if you don't have a domain name of course :^) ...
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2003 11:14 PM
01-07-2003 11:14 PM
Re: Enable qualify my own domain name( hostname) use short name
if this message is from sendmail, then
edit the /etc/mail/sendmail.cf file and edit the line Dj$w line by adding a "." at the end of it.
also edit the /etc/hosts file add the name of the machine at the end of the entry. i.e,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2003 11:16 PM
01-07-2003 11:16 PM
Re: Enable qualify my own domain name( hostname) use short name
I agree with Jean !!!
if you don't need sendmail on your
server
edit the file
/etc/rc.config.d/mailservs
export SENDMAIL_SERVER=0
Regards
-Niraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2003 11:26 PM
01-07-2003 11:26 PM
Re: Enable qualify my own domain name( hostname) use short name
YOu can make entry in the file like
Then re-start sendmail to
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
check those messages dont appear again.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 05:31 AM
01-09-2003 05:31 AM
Re: Enable qualify my own domain name( hostname) use short name
if you have access to the knowledge trees have a look at
http://europe.itrc.hp.com/service/iv/node.do?node=prod%2FWW_Start%2FN1%7C20%7C5%7C3%7C2%7C13
Regards,
Jochen