Re: inconsistent DNS results - ping vs dig vs nslookup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, 23 Jun 2011, Giles Coochey wrote:

> Well, if you have access to the source, you can probably modify some
> constants to disable particular protocols, or there may be compile time
> options already - it would be nice to disable automatically on runtime if
> the host does not have a IPv6 protocol stack.
>
> The system calls in question are:
>
> getaddrinfo(3)
> http://www.kernel.org/doc/man-pages/online/pages/man3/getaddrinfo.3.html
>
> or in older software:
>
> gethostbyname(3)
> http://www.kernel.org/doc/man-pages/online/pages/man3/gethostbyname.3.html

My understanding was that AI_ADDRCONFIG does exactly that, only doing a given
lookup if IPv6 is configured.  If that's the case, then it's just woefully
underused.

jh
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux