[ipxe-devel] double null byte in dns_make_name()

Michael Brown mbrown at fensystems.co.uk
Sat Jan 7 14:07:01 UTC 2012


On Saturday 07 Jan 2012 13:50:01 Christian Hesse wrote:
> > Applying your patch causes malformed DNS requests for me.  That trailing
> > NUL marks the end of the name being queried.
> > 
> > Could you send a packet capture showing the "double null" behaviour that
> > you describe?
> 
> I will do anytime next week.
> 
> Just an idea that came to my mind just right now... Is a dot at the end
> of the name handled differently? I had sat the path to
> "http://pxe./script".

Yes; that makes a difference, and when I add a trailing dot I can see the 
double-NUL behaviour that you describe.

Michael



More information about the ipxe-devel mailing list