summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libc/net/getaddrinfo.37
-rw-r--r--share/man/man5/resolv.conf.513
2 files changed, 18 insertions, 2 deletions
diff --git a/lib/libc/net/getaddrinfo.3 b/lib/libc/net/getaddrinfo.3
index 7cf1f1a017a..15d322c5dd8 100644
--- a/lib/libc/net/getaddrinfo.3
+++ b/lib/libc/net/getaddrinfo.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getaddrinfo.3,v 1.6 2000/01/17 08:20:27 deraadt Exp $
+.\" $OpenBSD: getaddrinfo.3,v 1.7 2000/02/14 13:23:54 itojun Exp $
.\"
.\" Copyright (c) 1983, 1987, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -515,3 +515,8 @@ and documented in
.\"
.Sh BUGS
The text was shamelessly copied from RFC2553.
+.Pp
+.Nm
+can mistakingly query databases in different order than
+.Xr resolv.conf 5
+suggests.
diff --git a/share/man/man5/resolv.conf.5 b/share/man/man5/resolv.conf.5
index 78915ea935b..e44011e261d 100644
--- a/share/man/man5/resolv.conf.5
+++ b/share/man/man5/resolv.conf.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: resolv.conf.5,v 1.10 2000/01/03 11:51:08 itojun Exp $
+.\" $OpenBSD: resolv.conf.5,v 1.11 2000/02/14 13:23:54 itojun Exp $
.\" $NetBSD: resolv.conf.5,v 1.7 1996/03/06 18:22:16 scottr Exp $
.\"
.\" Copyright (c) 1986, 1991 The Regents of the University of California.
@@ -233,3 +233,14 @@ The
.Nm
file format appeared in
.Bx 4.3 .
+.Sh BUGS
+Due to resolver internal issues,
+.Xr getaddrinfo 3
+may not behave as
+.Sy lookup
+suggests.
+Consequently, userland programs that use
+.Xr getaddrinfo 3
+may behave differently from what
+.Sy lookup
+says.