[ipxe-devel] double null byte in dns_make_name()
Michael Brown
mbrown at fensystems.co.uk
Sat Jan 7 00:19:53 UTC 2012
On Wednesday 28 Dec 2011 07:50:56 Christian Hesse wrote:
> the dns resolver from current git does not work for me. Taking a look at
> the network layer I found there's a double null byte added in
> dns_make_name() causing the nameserver to not understand the query type
> and class. The attached patch fixes this.
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?
http://ipxe.org/howto/pcap
Thanks,
Michael
More information about the ipxe-devel
mailing list