[ipxe-devel] Unable to resolve CNAME

Nicolas Sylvain nsylvain at gmail.com
Wed Feb 26 16:44:44 UTC 2014


Great!
Thanks for the quick fix!

Nicolas


On Wed, Feb 26, 2014 at 8:19 AM, Michael Brown <mcb30 at ipxe.org> wrote:

> On 19/02/14 22:20, Nicolas Sylvain wrote:
>
>> After a few months without updating my iPXE binary, I updated it and now
>> I'm unable to resolve any CNAME.
>>
>
> Should now be fixed:
>
>   http://git.ipxe.org/ipxe.git/commitdiff/ff341c1
>
>  www.cnn.com <http://www.cnn.com> fails as well, but this one because of
>> a "recursion exceeded".
>>
>
> Turns out to be the same problem.  The bug related to not properly
> recalculating the length of the name after receiving a CNAME record.  In
> the case of "storage.googleapis.com", this resulting in iPXE attempting
> to look up "storage-ugc.l.googleus" (truncated to the length of "
> storage.googleapis.com").  In the case of "www.cnn.com", it resolves to "
> www.cnn.com.vgtf.net"; truncating this to the length of "www.cnn.com"
> gives exactly "www.cnn.com", hence the eventual "recursion exceeded"
> error.
>
> The problem occurs only when the CNAME is longer than the original name,
> which is how this managed to slip through testing.
>
> Thanks for reporting the problem, and with enough detail to allow me to
> reproduce it quickly!
>
> Michael
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20140226/cded0f12/attachment.htm>


More information about the ipxe-devel mailing list