now e.f.f.3.ip6.arpa is delegated, we no longer need to query ip6.int

Obtained from:	KAME
This commit is contained in:
Hajimu UMEMOTO 2004-07-21 17:26:40 +00:00
parent 24412bd1af
commit 0def575fd7
2 changed files with 1 additions and 7 deletions

View File

@ -683,12 +683,6 @@ _dns_gethostbyaddr(void *rval, void *cb_data, va_list ap)
return NS_NOTFOUND;
}
n = res_query(qbuf, C_IN, T_PTR, (u_char *)buf->buf, sizeof buf->buf);
if (n < 0 && af == AF_INET6) {
*qp = '\0';
strlcat(qbuf, "ip6.int", sizeof(qbuf));
n = res_query(qbuf, C_IN, T_PTR, (u_char *)buf->buf,
sizeof buf->buf);
}
if (n < 0) {
free(buf);
dprintf("res_query failed (%d)\n", n);

View File

@ -2082,7 +2082,7 @@ _dns_ghbyaddr(void *rval, void *cb_data, va_list ap)
querybuf *buf;
char qbuf[MAXDNAME+1];
char *hlist[2];
char *tld6[] = { "ip6.arpa", "ip6.int", NULL };
char *tld6[] = { "ip6.arpa", NULL };
char *tld4[] = { "in-addr.arpa", NULL };
char **tld;