Re: Qmail vs PowerDNS
Manvendra Bhangui <[email protected]> Tue, 25 Apr 2017 10:17:29 +0530
| Newsgroups | gmane.mail.qmail.general |
|---|---|
| Message-ID | <CAOqj+1MTqajOyGF+o9Lh6-vCvAywaeb=9H35toNCuRKY9E2gsw@mail.gmail.com> |
On 25 April 2017 at 07:16, <[email protected]> wrote: > Hi all. I've been running qmail with great success for many years. > I'm running gentoo with netqmail-1.06-r2; my network uses PowerDNS as > its local DNS server. > > I recently upgraded to pdns 4. That's broken my qmail; now all > attempts to send result in the dreaded > > CNAME_lookup_failed_temporarily._(#4.4.3) > > I've debugged a bit. Netqmail-1.06-r2 includes the big-dns patch, and > I verified that it was applied correctly. I've run wireshark to > capture the network transactions, and nothing looks amiss. I'm > getting valid responses, which are well under the 512-byte UDP limit > (though that shouldn't matter). The problem is clearly pdns, as when > I change my resolver to some other server, qmail is perfectly happy. > > What else should I look for? What conditions other than oversize > packets would cause qmail to consistently faile the CNAME lookup? > > Thanks in advance... > I have done the following to fix the error. in qmail-remote.c, change addrmangle(reciplist.sa + reciplist.len,*recips,&flagalias,!relayhost); to addrmangle(reciplist.sa + reciplist.len,*recips,&flagalias,0); Look at https://lists.dns-oarc.net/pipermail/dns-operations/2013-January/009518.html