Blame SOURCES/1147718-resolv.conf.5-add-missing-no-tld-query.patch

5a015b
From 70cda4be1493b7e44ab87cd115a1b1d19162c9f4 Mon Sep 17 00:00:00 2001
5a015b
From: Jan Chaloupka <jchaloup@redhat.com>
5a015b
Date: Thu, 16 Oct 2014 11:36:17 +0200
5a015b
Subject: [PATCH] resolv.conf.5 add missing no-tld-query
5a015b
5a015b
---
5a015b
 man-pages/man5/resolv.conf.5 | 11 +++++++++++
5a015b
 1 file changed, 11 insertions(+)
5a015b
5a015b
diff --git a/man-pages/man5/resolv.conf.5 b/man-pages/man5/resolv.conf.5
5a015b
index 321a7e5..2495dde 100644
5a015b
--- a/man-pages/man5/resolv.conf.5
5a015b
+++ b/man-pages/man5/resolv.conf.5
5a015b
@@ -258,6 +258,17 @@ When that happens the client system will sit and wait for the second reply.
5a015b
 Turning this option on changes this behavior
5a015b
 so that if two requests from the same port are not handled correctly it will
5a015b
 close the  socket and open a new one before sending the second request.
5a015b
+.TP
5a015b
+.BR no-tld-query " (since glibc 2.14)"
5a015b
+sets RES_NOTLDQUERY in 
5a015b
+.IR _res.options .
5a015b
+This option causes
5a015b
+.BR res_nsearch()
5a015b
+to not attempt to resolve an unqualified name
5a015b
+as if it were a top level domain (TLD).
5a015b
+This option can cause problems if the site has ``localhost'' as a TLD
5a015b
+rather than having localhost on one or more elements of the search list.
5a015b
+This option has no effect if neither RES_DEFNAMES or RES_DNSRCH is set.
5a015b
 .RE
5a015b
 .LP
5a015b
 The \fIdomain\fP and \fIsearch\fP keywords are mutually exclusive.
5a015b
-- 
5a015b
1.9.3
5a015b