>> > What happens if you disable IPv6 kernel support ?

>> It won't change a thing.

Whether the kernel supports IPv6 is irrelevant.  What is relevant is
whether you have configured a global IPv6 address on your machine.

>> >        If hints.ai_flags includes the AI_ADDRCONFIG flag, then IPv4
>> >        addresses are returned in the list pointed to by result only 

> Does this mean that the AI_ADDRCONFIG option for the hints flag
> doesn't stop the queries being made, it only stops them being
> returned?  If the DNS resolver library knows that it is not going to
> return the IPv6 addresses to the application then why would it request
> them?

That's an implementation detail -- the specs only say what is returned
to the application, not how it's obtained.  You could check the source
to libc to see what it actually does (if you do, please report it here).

                                        Juliusz

Reply via email to