https://bugzilla.novell.com/show_bug.cgi?id=684534
https://bugzilla.novell.com/show_bug.cgi?id=684534#c5
Michael Matz changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |aj@novell.com
Severity|Normal |Major
--- Comment #5 from Michael Matz 2011-06-16 12:42:05 UTC ---
Given that gethostbyname4_r() tries to query T_A and T_AAAA when given T_UNSPEC
this seems to be the only possibility. It would have been better is there
was another way to communicate the non-ipv6 setting to that function, alas,
there isn't (we could introduce a new flag for _res.options and check that
in the various gethostbyname4_r implementation). It would be better because
gethostbyname4_r also provides more information at once than gethostbyname3_r.
It would also be better because then only the DNS nss routine could disable
ipv6 queries. The other nss routines (like host_files) could still return
ipv6 addresses, which is one of the problems that existed once with
AI_ADDRCONFIG specified, when the notion of "system has ipv6 interface" was
implemented incorrectly.
In any case, yes, I think a change like proposed in initial comment seems
sensible (on top of the other work around we have anyway already).
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.