summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2004-07-21 17:26:40 +0000
committerume <ume@FreeBSD.org>2004-07-21 17:26:40 +0000
commitfc96a672a7a0b1968e7ace3d7393d759e113144a (patch)
tree4ed73cf78bf1f0e2880670b06204762e69248928
parent21933e4a30a2461cf5fc1960333c6f721eacc3de (diff)
downloadFreeBSD-src-fc96a672a7a0b1968e7ace3d7393d759e113144a.zip
FreeBSD-src-fc96a672a7a0b1968e7ace3d7393d759e113144a.tar.gz
now e.f.f.3.ip6.arpa is delegated, we no longer need to query ip6.int
Obtained from: KAME
-rw-r--r--lib/libc/net/gethostbydns.c6
-rw-r--r--lib/libc/net/name6.c2
2 files changed, 1 insertions, 7 deletions
diff --git a/lib/libc/net/gethostbydns.c b/lib/libc/net/gethostbydns.c
index 534073a..7dc405d 100644
--- a/lib/libc/net/gethostbydns.c
+++ b/lib/libc/net/gethostbydns.c
@@ -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);
diff --git a/lib/libc/net/name6.c b/lib/libc/net/name6.c
index d97cbab..8d7152e 100644
--- a/lib/libc/net/name6.c
+++ b/lib/libc/net/name6.c
@@ -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;
OpenPOWER on IntegriCloud