1753753 Members
5017 Online
108799 Solutions
New Discussion юеВ

Re: domain name server

 
SOLVED
Go to solution
Dietmar_3
New Member

domain name server

I have recently installed HP-UX11 and during bootup I get the following error when the mail server boots up
"Unable to qualify own domain name server - using short name"...
The server runs of a static IP and after bootup I can access the mailbox?

Thanks D
8 REPLIES 8
Elmar P. Kolkman
Honored Contributor

Re: domain name server

This looks like a sendmail message. Check /etc/mail/sendmail.cf for the Dj macro.
Every problem has at least one solution. Only some solutions are harder to find.
Hoefnix
Honored Contributor
Solution

Re: domain name server

Normally you can fix this with entering your servers FullQ-hostname+IPaddress as first entry in it's own hostfile (/etc/host) just after the localhost entry.

Regards,

Peter
Sergejs Svitnevs
Honored Contributor

Re: domain name server

Your mail daemon is unable to get the fully qualified domain name of the machine it is running in. Try to check /etc/hosts and /etc/resolv.conf files.

Best Regards
Sergejs
Sunil Sharma_1
Honored Contributor

Re: domain name server

Hi,

This message is coming from Sendmail daemon.

have a look on this thread looks similer problem

http://forums1.itrc.hp.com/service/forums/questionanswer.do?admit=716493758+1074518314755+28353475&threadId=95247

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=94915

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
Ralph Haefner
Frequent Advisor

Re: domain name server

Peter's answer above is right, you need to add the fully qualified name. The one slight change I'd make is he says to have the IP plus the fully qualified name. I'd just add the fully qualified name to the current line in addition to the hostname that is already there. What I mean is change

192.1.1.1 servername

to

192.1.1.1 servername servername.domain.com

instead of just

192.1.1.1 servername.domain.com

Having both there makes your life easier since the machine will recognize both the short hostname and the fully qualified name.

Hoefnix
Honored Contributor

Re: domain name server

Ralph is right, adding the short name I already assumed you had already filled in the host file.
Having the shortname in /etc/host makes live more easy.

Regards,

Peter
Steven E. Protter
Exalted Contributor

Re: domain name server

When you are done making changes a test:

sendmail -v -d8.99 -d38.99 someone@somedomain.com

type some text

.


This will validate the changes very nicely.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Hoefnix
Honored Contributor

Re: domain name server

Before sending the mail SEP is sugesting(what is a good test), check if the server resolves the domain you are addresing with nslookup.

I know in our situation we wanted to send to a domain that was not resolved by our (internal) DNS server. To fix this we put a fake IP adres for the domain in the hostfile of the server running sendmail like:

1.1.1.1 someone.com

Then send mail connects to the relay host and sends the mail correct. Without the entry in the hostfile it did not send any mail addressed to that domain to the relay host.

Regards,

Peter