man-pages/man-pages-5.02-resolv.conf-search-list.patch
2019-10-10 11:51:07 +02:00

40 lines
1.3 KiB
Diff

From c594a728b2313a41375d8e88901e5e4c64ae1ba0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nikola=20Forr=C3=B3?= <nforro@redhat.com>
Date: Wed, 7 Aug 2019 14:17:19 +0200
Subject: resolv.conf.5: Update information about search list
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Since glibc 2.26, the number of domains in the search list is
no longer limited.
Reference:
https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=3f853f22c87f0b671c0366eb290919719fa56c0e
Signed-off-by: Nikola Forró <nforro@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
---
man5/resolv.conf.5 | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/man5/resolv.conf.5 b/man5/resolv.conf.5
index 57f0a13df..c500864d1 100644
--- a/man5/resolv.conf.5
+++ b/man5/resolv.conf.5
@@ -104,8 +104,10 @@ traffic if the servers for the listed domains are not local,
and that queries will time out if no server is available
for one of the domains.
.IP
-The search list is currently limited to six domains
+In glibc 2.25 and earlier, the search list is limited to six domains
with a total of 256 characters.
+.\" commit 3f853f22c87f0b671c0366eb290919719fa56c0e
+Since glibc 2.26, the search list is unlimited.
.TP
\fBsortlist\fP
This option allows addresses returned by
--
cgit 1.2-0.3.lf.el7