SLUG Mailing List Archives
Re: [SLUG] Sendmail & DNS
- To: pworboys@xxxxxxxxxx
- Subject: Re: [SLUG] Sendmail & DNS
- From: John Ferlito <johnf@xxxxxxxxxx>
- Date: Thu Jul 20 12:37:00 2000
- Cc: slug@xxxxxxxxxxx
- User-agent: Mutt/1.0.1i
On Thu, Jul 20, 2000 at 11:43:51AM +1000, pworboys@xxxxxxxxxx wrote:
> What happened next was that all internal SMTP mail (*nix <--> *nix) and
> (*nix <--> exchange) was failing because their was no DNS lookup
> Our internal server are NOT included in the ZONE file at optus, but they
> are defined in the /etc/hosts file.
> It appears that our sendmail was always attemping to lookup internal name
> using DNS rather that using the values specified in /etc/hosts,
> irrespective of the settings used.
I'm guessing you're using something like the following
IN your sendmail mc files. or you have
in your mailertable file.
The thing is even though you specifiy a host sendmail still trys to do an MX lookup on it which would fail if you don't have any DNS. Solution is put square brackets around the host name then it will deliver top it directly.eg
John Ferlito Ph: +612 9253 5755
Systems Engineer Fax: +612 9247 5276
Pacific Internet (Aust) Pty Ltd http://www.pacific.net.au
<<Internet Wholesalers to Australian Business>> NASDAQ: PCNTF