if i add this test in the beginning of resolve.c/get_record function, the bogus dns queries on bracketed ipv6 addresses can be prevented:
if (name[0] == '[') { return 0; }
this is not the real fix, but helps until someone figures out why dns query on something that is not a name but wrongly formatted ipv6 address is done in the first place.
-- juha