Re: [exim-dev] [Bug 2264] DNS lookups should not chase CNAME…

Top Page
Delete this message
Reply to this message
Author: Jeremy Harris
Date:  
To: exim-dev
Subject: Re: [exim-dev] [Bug 2264] DNS lookups should not chase CNAME chains
On 06/10/2018 12:34 AM, Viktor Dukhovni via Exim-dev wrote:
>
>
>> On Jun 9, 2018, at 7:17 PM, Jeremy Harris via Exim-dev <exim-dev@???> wrote:
>>
>> It was:
>>
>>  Zone:
>>    cname.example. IN CNAME nomx.example.
>>    nomx.example. IN A 192.0.2.1
>>  Query:
>>    cname.example. IN MX ?
>>  Response:
>>    Answers:
>>      cname.example. IN CNAME nomx.example.

>
> OK, that's what I'd expect, from this you can conclude
> that "nomx.example" has no MX records.


With a retry count of one, and the current coding, it failed
when it hit that case. It was far simpler to loop once than
try to rewrite all the code.
--
Jeremy