All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] resolv.conf.5: Describe single-request option
@ 2009-05-15 17:17 Petr Baudis
       [not found] ` <20090515171713.GG14609-DDGJ70k9y3lX+M3pkMnKjw@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Petr Baudis @ 2009-05-15 17:17 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

The single-request option was introduced with glibc-2.10.

Also, a note is added to resolver(3) that many of the options
are actually described in resolv.conf(5).

Signed-off-by: Petr Baudis <pasky-AlSwsSmVLrQ@public.gmane.org>

---

Ping, what about the other patches? ;-)

diff --git a/man3/resolver.3 b/man3/resolver.3
index eabc1a4..181468a 100644
--- a/man3/resolver.3
+++ b/man3/resolver.3
@@ -232,6 +232,9 @@ domain and in parent domains.
 This option is used by
 .BR gethostbyname (3).
 [Enabled by default].
+.PP
+This list is not complete. You can find some other flags described in
+.BR resolv.conf (5).
 .SH "RETURN VALUE"
 The
 .BR res_init ()
diff --git a/man5/resolv.conf.5 b/man5/resolv.conf.5
index 4d67c75..2a2c694 100644
--- a/man5/resolv.conf.5
+++ b/man5/resolv.conf.5
@@ -231,6 +231,19 @@ sets
 in
 .IR _res.options .
 This enables support for the DNS extensions described in RFC\ 2671.
+.TP
+.BR single-request " (since glibc 2.10)"
+sets
+.BR RES_SNGLKUP
+in
+.IR _res.options .
+By default, glibc performs IPv4 and IPv6 lookups in parallel since
+version 2.9 (though many distribution packages of glibc are known
+to disable that behavior in this version). Some appliance DNS servers
+cannot handle these queries properly and make the requests time out.
+This option disables the behavior and makes glibc perform the IPv6
+and IPv4 requests sequentially (at the cost of some slowdown of the
+resolving process).
 .RE
 .LP
 The \fIdomain\fP and \fIsearch\fP keywords are mutually exclusive.
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-04-23 12:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-15 17:17 [PATCH] resolv.conf.5: Describe single-request option Petr Baudis
     [not found] ` <20090515171713.GG14609-DDGJ70k9y3lX+M3pkMnKjw@public.gmane.org>
2009-09-20 15:03   ` Petr Baudis
     [not found]     ` <20090920150354.GN3674-DDGJ70k9y3lX+M3pkMnKjw@public.gmane.org>
2010-02-24 20:16       ` Petr Baudis
2012-04-23 12:14   ` Michael Kerrisk (man-pages)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.