Daring to challenge the will of the almighty Leviam00se,
: I've searched the FAQ's that I can find and haven't found a solution to this
: problem. Maybe someone else has already solved it...
: 1) solaris 2.4 and Sun's C compiler
: 2) sendmail 8.6.12
: 3) nsswitch.conf with "hosts: files dns"
: 4) /etc/hosts with
: "xx.xx.xx.xx lachesis.gsfc.nasa.gov lachesis"
: "xx.xx.xx.xx clotho.gsfc.nasa.gov clotho (not in dns)"
: All of Sun's utilities, telnet and rlogin, can find clotho from
: lachesis no problem. But 8.6.12 sendmail fails with "Host unknown
: (Name server: clotho: host not found)". Any ideas? Thanks for any help or
: information you can provide.
Just a hunch, but check your sendmail.cf file for an option with
a comment that says something like: "Insist that the BIND name server
be running to resolve hostnames." (I think the option says 'OITrue'.)
When you find that option, comment it out and restart sendmail.
Having this there will force sendmail to do DNS lookups for all
hostnames no matter how nsswitch.conf is set up. Since clotho is
not in the DNS, the lookup will always fail unless you disable
-Bill Paul (212) 854-6020 | System Manager
The M??se Illuminati: ignore it and be confused, or join it and be confusing!
~~~~~~ "Welcome to All Things BSDish! If it's not BSDish, it's crap!" ~~~~~~~