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

Góra strony
Delete this message
Reply to this message
Autor: Jeremy Harris
Data:  
Dla: exim-dev
Temat: Re: [exim-dev] [Bug 2264] DNS lookups should not chase CNAME chains
On 06/09/2018 11:01 PM, Viktor Dukhovni via Exim-dev wrote:
> I am confused by the comments in the bug tracker and code.
> Can you share the cases you found that make it necessary
> to recurse one extra time?
>
> I would expect the following behaviour from an iterative
> resolver:
>
>   Zone:
>     cname.example. IN CNAME cname2.example.
>     cname2.example. IN CNAME nomx.example.
>     nomx.example. IN A 192.0.2.1
>   Query:
>     cname.example. IN MX ?


That was not the situation that forced the 1-retry.

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.


--
Cheers,
Jeremy