On 10/24/12 9:02 PM, Juha Heinanen wrote:
Richard Fuchs writes:
Obviously the DNS requests shouldn't happen in the first place.
exactly, that has been my point all the time. the patch that i proposed is like aspirin until the real bug has been fixed.
Is the query type A or AAAA when dns for ipv6 is disabled? I guess that if the query for AAAA is disabled, the internal function that detects if it is an IPv6 address is not executed. The one for ipv4 fails to match it as a valid v4 address, so it thinks is a hostname.
The better fix looking at the patch you proposed would be to use the function that detects is valid ipv6, not just something starting with '['.
Cheers, Daniel