man-pages/man-pages-4.15-host.conf.5-multi.patch

30 lines
889 B
Diff

From b5f194248f0c38d0e254b71f98e1b9e9783198dd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nikola=20Forr=C3=B3?= <nforro@redhat.com>
Date: Fri, 27 Jul 2018 17:15:47 +0200
Subject: [PATCH 2/5] host.conf.5: fix default value of multi option
---
man5/host.conf.5 | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/man5/host.conf.5 b/man5/host.conf.5
index 1f65840..15e9aa7 100644
--- a/man5/host.conf.5
+++ b/man5/host.conf.5
@@ -65,9 +65,9 @@ appears in the
file,
instead of only the first.
This is
-.I off
-by default, as it may cause a substantial performance loss at sites
-with large hosts files.
+.I on
+by default.
+On systems with DNS, hosts files are much smaller and the performance loss of multiple search is negligible. On sites with large hosts files, turning it on may cause a substantial performance loss.
.TP
.I reorder
Valid values are
--
2.17.1