Computing.Net > Forums > Solaris > DNS Error

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

DNS Error

Reply to Message Icon

Name: Holger
Date: May 31, 2001 at 06:28:36 Pacific
Comment:

[Hostname] console login: May 31 15:25:42 [Hostname] sendmail[295]: My unqualified host name (Hostname) unknow
n; sleeping for retry

I get this message, when solaris starts up!
Can somebody help me??

Greetz

Holger



Sponsored Link
Ads by Google

Response Number 1
Name: labtech
Date: June 12, 2001 at 08:46:55 Pacific
Reply:

Well, I'll take a crack at it if you'll bear with me. I am by no means a sendmail expert. The unqualified host name means that sendmail is trying to use a host name that is ~not recognized~ - most likely because the domain needs appended to the host name. In your /etc/hosts file you will need to add an alias for the localhost that looks like:

name name.subdomain2.subdomain1.... alias1 alias2 aliasX

(note that that should all be on one line!)

where is the ip address for the host, name is the name as recognized in your domain, name.subdomain1.subdomain2 is something like myname.cs.learn.edu where would be either one of edu,com,gov or any country code extension. Note that there is a trailing dot after the qualified host name. The alias1 and alias2 are the aliases for the host. The first alias you just setup is what sendmail will use as the qualified host name. To check to see if the name you tried to use is something that sendmail understands you can have sendmail tell you what to put there. You want $j from:
/usr/lib/sendmail -d0.1 < /dev/null

Then if you are running NIS or NIS+ you need to update that information and then restart sendmail:

/etc/init.d/sendmail stop
/etc/init.d/sendmail start

WARNING: I have not got this to work but its worth a try.
Good luck.


0

Response Number 2
Name: Ariel
Date: June 23, 2001 at 16:53:31 Pacific
Reply:

If you're not running sendmail on your machine then disable sendmail.

Just rename the sendmail start up script. You can find the start up scrip is /etc/S88sendmail, rename to disable.S88sendmail.

That way you won't have to run /etc/init.d/sendmail stop every time you bring up your machine.

-arielc


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: DNS Error

DSL, DNS, Solaris 8, Installation www.computing.net/answers/solaris/dsl-dns-solaris-8-installation/391.html

Dns configuration www.computing.net/answers/solaris/dns-configuration/1149.html

DNS caching www.computing.net/answers/solaris/dns-caching/2957.html