Erwin,
Just to be clear delete the respective lines and run make setup check?
Thanks..
Mike D
Sent from my Windows Phone
-----Original Message-----
From: "Erwin Hoffmann" <feh@fehcom.de>
Sent: ‎10/‎17/‎2015 12:30 PM
To: "Michael Di Martino" <mdm100@gmail.com>
Cc: "qmail List" <qmail@list.cr.yp.to>; "Andy Bradford" <amb-sendok-1447656636.hkefmchejfmdcinejnfa@bradfords.org>
Subject: Re: CNAME Lookup Failure, after BIGDNS Patch
Hi Michael,
this patch essentially *disables* the DNS ANY query with is the source of your problem.
You can guess it, since this is the essential part which became removed:
- switch(resolve(sa,T_ANY))
- {
- case DNS_MEM: return DNS_MEM;
- case DNS_SOFT: return DNS_SOFT;
- case DNS_HARD: return loop;
- default:
- while ((r = findname(T_CNAME)) != 2)
- {
- if (r == DNS_SOFT) return DNS_SOFT;
- if (r == 1)
- {
- if (!stralloc_copys(sa,name)) return DNS_MEM;
- break;
- }
- }
- if (r == 2) return loop;
- }
The patch leaves the CNAME query useless:
int dns_cname(sa)
stralloc *sa;
{+ return 0; }
If you delete the respective lines in your version within dns.c you are done.
regards.
—eh.
Am 17.10.2015 um 18:05 schrieb Michael Di Martino <mdm100@gmail.com>:
http://marc.info/?l=qmail&m=134062672511072&w=2 ---
Dr. Erwin Hoffmann | FEHCom |
http://www.fehcom.de | PGP Key-Id: 7E4034BE