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
--
Daniel-Constantin Mierla -
http://www.asipto.com
http://twitter.com/#!/miconda -
http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, Nov 5-8, 2012 -
http://asipto.com/u/kat
Kamailio Advanced Training, Miami, USA, Nov 12-14, 2012 -
http://asipto.com/u/katu