NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Resolver problems
woods%planix.com@localhost ("Greg A. Woods") writes:
>You could recompile the whole system without INET6 support, i.e. with
>the following in /etc/mk.conf:
> MKINET6 =3D no
> USE_INET6 =3D no
This wouldn't change anything. The issue is hardcoded into libc.
static int
_dns_getaddrinfo(void *rv, void *cb_data, va_list ap)
...
case AF_UNSPEC:
/* prefer IPv6 */
q.name = name;
q.qclass = C_IN;
q.qtype = T_AAAA;
q.answer = buf->buf;
q.anslen = sizeof(buf->buf);
q.next = &q2;
q2.name = name;
q2.qclass = C_IN;
q2.qtype = T_A;
q2.answer = buf2->buf;
q2.anslen = sizeof(buf2->buf);
break;
...
if (res_searchN(name, &q, res) < 0) {
...
--
--
Michael van Elst
Internet: mlelstv%serpens.de@localhost
"A potential Snark may lurk in every tree."
Home |
Main Index |
Thread Index |
Old Index