Sendmail/DNS

Lyle Lyle at lcrcomputer.com
Wed Mar 14 22:40:42 UTC 2001


Also unless you use NSLOOKUP to grab the MX records or do AXFR, how do you
know if there is an MX record being returned by DNS? Just querying the
domain without specifying the MX records returns the A record which is not
what Sendmail needs.

Lyle

-----Original Message-----
From: Joseph S D Yao [mailto:jsdy at cospo.osis.gov]
Sent: Wednesday, March 14, 2001 4:16 PM
To: Ziad Ghafour
Cc: Fred Garlock; 'bind-users at isc.org'
Subject: Re: Sendmail/DNS



On Wed, Mar 14, 2001 at 01:54:49AM -0500, Ziad Ghafour wrote:
> I am using a mail relay on a server, and when I try to send any mail out,
it
> gives me the following error:
> 
> Deferred: Name server: X.mydomain.com: host name lookup failure
> 
> but when I try to do nslookup on the X.mydomain.com, it resolve it ok

You probably have one of the several systems that have
/etc/nsswitch.conf or some other file within which you have to turn on
DNS.  And it is not turned on.  One of 'nslookup's features is that it
ignores such files and uses DNS even if it is not enabled on your
machine.

-- 
Joe Yao				jsdy at cospo.osis.gov - Joseph S. D. Yao
COSPO/OSIS Computer Support					EMT-B
-----------------------------------------------------------------------
This message is not an official statement of COSPO policies.


More information about the bind-users mailing list