sendmail host name lookup failure
I run sendmail 8.14.2 on FreeBSD 5.5, 6.3 and 7.0 (from ports on 5.5, default on 6.3 and 7.0) in a small testing lan, behind a snat router which hosts a 9.3.3 bind name server. The domain name is not public, say aaa.bbb.ccc and the 3 machines are fbsd-5, fbsd-6 and fbsd-7. Name resolution is ok, tested with host and dig.
If I want to send emails from any of the 3 bsd's to another machine, say fc-6, user test, the mail is sent from fbsd-7, but not from the fbsd-5 and fbsd-6, error "stat=Deferred: Name server: fc-6.aaa.bbb.ccc.: host name lookup failure".
The sendmail servers have the same configuration (the default one - including WorkAroundBrokenAAAA) , all are compiled with NAMED_BIND, sendmail is enabled in rc.conf.
After some sniffing of the bind conversations I found that:
- all the 3 bsd's send A requests at some point in the conversation and receive the right response;
- all of the bsd's send AAAA requests and receive NOERR responses from the name server (I do not use ipv6);
- all except fbsd-7 request AAAA for fc-6. receiving ServFail as response. This is weird!!
Is the problem sendmail related or resolver library related? I googled for 2 days, no solution, except recompiling sendmail without ipv6 support.
|Thread||Thread Starter||Forum||Replies||Last Post|
|Sendmail||Timmy66||OpenBSD General||11||19th October 2008 03:01 PM|
|sendmail dont boot||dejabu18||FreeBSD Ports and Packages||0||8th October 2008 02:07 PM|
|Sendmail 8.14.2 undisclosed DNSBL lookup failure and NOQUEUE errors (FreeBSD 7.0)||NathanPardoe||FreeBSD General||9||21st May 2008 12:00 AM|
|Using sendmail in a cron job||erehwon||OpenBSD General||6||15th May 2008 09:03 PM|
|Sendmail, issues...||pcfxer||FreeBSD General||2||8th May 2008 10:07 AM|