[Bug 33144] DnsQuery_A API returns DNS_ERROR_BAD_PACKET when querying for MX records.

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Mar 8 10:43:12 CST 2013


http://bugs.winehq.org/show_bug.cgi?id=33144

--- Comment #11 from Hans Leidekker <hans at meelstraat.net> 2013-03-08 10:43:12 CST ---
(In reply to comment #10)
> Yes, I did and this works in Windows just fine. The DNS responses in Wireshark
> are roughly the same in Windows and OS X. Could this be addressed by checking
> the return value of res_query against NS_PACKETSZ and then dynamically
> reallocating the buffer if necessary?

I suspect these large packets have a maximum size too. If it's EDNS it
appears to be 4096 bytes. I don't know what else might be needed to parse
them correctly.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list