Sendmail: Deferred: Name server: xxx.xxx.xxx: host name lookup failure

mike mike at coloradosurf.com
Mon Jul 17 15:33:55 UTC 2006


To add on...

I was using sendmail/mimedefang/clamav on freebsd6.0 (w/ probably
8.13.4 before the patch) and got the same issue. It only seemed
to have the problem w/ my local domain. I resolved it by running 
bind on the local server w/ records for my local domain and having
forwarders point to my normal internal nameservers (M$). Before
switching my resolv.conf to point to localhost, it resolved all
domains correctly (via dig), but I kept getting those same errors
from sendmail. I think even putting it in /etc/hosts didn't work.

Anyhow, the workaround came through and I haven't looked back, 
but it sure would be nice to understand this one better. It seems
googling brought up some stuff w/ sendmail not playing nice w/ M$
nameservers (or switch these around if you prefer to lay
appropriate blame) not working in certain instances but I forget 
the details.

This may or may not be related.



mike




On Mon, Jul 17, 2006 at 04:30:22PM +0200, Bas Hendriks wrote:
> Date: Mon, 17 Jul 2006 16:30:22 +0200
> From: Bas Hendriks <bas at cybox.nl>
> To: freebsd-isp at freebsd.org
> Subject: Sendmail: Deferred: Name server: xxx.xxx.xxx: host name lookup
> 	failure
> 
> Hello,
> 
> I have a problem with one of my servers,
> Suddenly i am getting a lot of "Deferred: Name server: xxx.xxx.xxx: host 
> name lookup failure" while DNS resolving on that box is ok(from the 
> command line de backend servers do resolve and are reachable). The mail 
> stays in the mailqueue.
> 
> This is a mailscanning server (Mailscanner/Spamassasin/Clamav), witch 
> functions as primary mx for several domains, after receiving  mail it 
> forwards  this mail to backend servers(Using mailertable: domain.com 
> smtp:backendserver-n.xxxx.xx).
> 
> Any pointers on how to debug this would be appreciated!
> 
> Best regards,
> Bas Hendriks
> 
> --
> extra info:
> [bas at mailscanner bas]$uname -a
> FreeBSD mailscanner.xxxxxx.xxx 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov  
> 3 09:36:13 UTC 2005     root at x64.samsco.home:/usr/obj/usr/src/sys/GENERIC  
> i386
> [bas at mailscanner bas]$telnet 0 25
> Trying 0.0.0.0...
> Connected to 0.
> Escape character is '^]'.
> 220 mailscanner.xxxxxx.xxx ESMTP Sendmail 8.13.4/8.13.4; Mon, 17 Jul 2006 
> 16:19:58 +0200 (CEST)
> 
> 
> 
> _______________________________________________
> freebsd-isp at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-isp
> To unsubscribe, send any mail to "freebsd-isp-unsubscribe at freebsd.org"


More information about the freebsd-isp mailing list