sendmail / multiple domains question

Craig White plug-discuss@lists.plug.phoenix.az.us
01 Jun 2002 02:58:37 -0700


On Fri, 2002-05-31 at 16:48, linux @esaravana wrote:
> When I do 'dig' on mail.2nddomain.com, www.2nddomain.com it works, but it
> dowsn't work when I do 2nddomain.com.
> 
> Same case for the mail.1stdomain.com, www.1stdomain.com, but not for
> 1stdomain.com.
> 
> So, my take is DNS is set properly. But could be that my sendmail is not
> using the DNS. How do I make sure, my sendmail is using my DNS.
> 
----
almost impossible to make sendmail work without dns.

when using dns, it's easy to think that what your desktop sees is what
your sever sees but that is only the case if they both point to the same
dns server.

I often have a situation where my server is exposed to the internet and
uses a public dns server and the desktop machines are behind the
firewall and point to a local dns server (essential when you use active
directory) and so they might not see the same info for things like mx
exchanger.

So if you are are talking about sendmail resolving domain names, do
nslookup/htdig from that server and then the same thing from client
machines...they may come up with entirely different answers.

Craig