man-pages/man-pages-3.42-resolv-conf.patch

18 lines
937 B
Diff

diff -ur man-pages-3.42.orig/man5/resolv.conf.5 man-pages-3.42/man5/resolv.conf.5
--- man-pages-3.42.orig/man5/resolv.conf.5 2012-08-14 00:39:40.000000000 +0200
+++ man-pages-3.42/man5/resolv.conf.5 2012-09-12 17:58:59.898565259 +0200
@@ -244,6 +244,13 @@
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).
+.TP
+.BR single-request-reopen " (since glibc 2.9)"
+The resolver uses the same socket for the A and AAAA requests. Some hardware
+mistakenly only sends back one reply. When that happens the client sytem will
+sit and wait for the second reply. Turning this option on changes this behavior
+so that if two requests from the same port are not handled correctly it will
+close the socket and open a new one before sending the second request.
.RE
.LP
The \fIdomain\fP and \fIsearch\fP keywords are mutually exclusive.