Blob Blame History Raw
From 70cda4be1493b7e44ab87cd115a1b1d19162c9f4 Mon Sep 17 00:00:00 2001
From: Jan Chaloupka <jchaloup@redhat.com>
Date: Thu, 16 Oct 2014 11:36:17 +0200
Subject: [PATCH] resolv.conf.5 add missing no-tld-query

---
 man-pages/man5/resolv.conf.5 | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/man-pages/man5/resolv.conf.5 b/man-pages/man5/resolv.conf.5
index 321a7e5..2495dde 100644
--- a/man-pages/man5/resolv.conf.5
+++ b/man-pages/man5/resolv.conf.5
@@ -258,6 +258,17 @@ When that happens the client system 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.
+.TP
+.BR no-tld-query " (since glibc 2.14)"
+sets RES_NOTLDQUERY in 
+.IR _res.options .
+This option causes
+.BR res_nsearch()
+to not attempt to resolve an unqualified name
+as if it were a top level domain (TLD).
+This option can cause problems if the site has ``localhost'' as a TLD
+rather than having localhost on one or more elements of the search list.
+This option has no effect if neither RES_DEFNAMES or RES_DNSRCH is set.
 .RE
 .LP
 The \fIdomain\fP and \fIsearch\fP keywords are mutually exclusive.
-- 
1.9.3