Hello,
On 10/16/12 1:37 PM, Alex Hermann wrote:
On Monday 15 October 2012, Daniel-Constantin Mierla wrote:
On 10/11/12 2:11 PM, Alex Hermann wrote:
On Thursday 11 October 2012, Daniel-Constantin Mierla wrote: DEBUG: <core> [dns_cache.c:567]: dns_hash_find([IPv6 Address](30), 1), h=707 DEBUG: <core> [resolve.c:727]: get_record: lookup([IPv6 Address],
- failed DEBUG: <core> [dns_cache.c:895]: dns_cache_mk_bad_entry([IPv6
Address], 1, 60, 1) DEBUG: <core> [dns_cache.c:828]: dns_cache_add: adding [IPv6 Address](30) 1 (flags=1) at 707 ERROR: dispatcher [dispatch.c:325]: could not resolve [IPv6 Address] WARNING: <core> [mem/f_malloc.c:474]: WARNING:fm_free: free(0) called
looking at the code it seems to be ending in doing an A lookup instead of AAAA
Why would it even query for AAAA? The entry is an IP(v6) address, no lookup should be done at all.
well, maybe improper formulation, the functions in core doing A/AAAA lookups detect if it is an IP address and don't do the dns query in that case, but convert directly the address to socket structure.
The idea was to add some debug messages to discover why its ending in IPv4-specific function and not in the one for IPv6.
Cheers, Daniel