From nobody Wed Nov 30 19:17:13 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NMpqY5JDPz4hdt8; Wed, 30 Nov 2022 19:17:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NMpqY4pXQz4LY3; Wed, 30 Nov 2022 19:17:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669835833; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jsToHK9DbBhuXQJWOun5GkyfXg3/bdBnkTmfh0X35wA=; b=N1Zpm8pAQJJnGgB963sVoe8Sz+N7ezeaAV5myvXdwGYVcDDoFpzyvzFuiBsztY1jr5loTX ZrgZilFhy07KhVtkeA4HfI8UHRqwf1J/7fXWBE9PowxN6SZTBc5H/V8zzqCPzUQIZ38RVe IiqM1yi2+J0Ed6Vqj1EQ205N0W5kPH+DtMIiGywbXgcfM7alQ9jTh0wiWpP9SyT4X9rzVj h42H2hhtTrFz2pYDmp4lDLes2Fe7+TL25XQNsUZuAOC2Xb+pKNmgXprAozcPk6EdWHyQF9 66Lk8g0GKH7NWTyosThtRN72QPjNwVBdBVlTcJdcpPA1Gado45jCzBMVGNZ0GA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669835833; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jsToHK9DbBhuXQJWOun5GkyfXg3/bdBnkTmfh0X35wA=; b=ldcZWLgQTLdh2KH95EXWdkxuq6Sjb5SpI1C65zLk3FQ+PW9/AGKAa8j354n4p/4XyQR7bD h5Zsw35OgL+yNwWmmGA7D3x/E+qU+XUHNld3wSkIKLZ3rboiaVvimVxjCkwRQ/rQERB+Le WSVs9sxywMZ+52VNdZPVp/QDdLSz6o4/xVDYSrb1eap+YlgD/GxZ+uzoNW8EqIKLku1ubC AYbq9SqxZsz0xIKoxwFe/rcGiiXjBdd4oHb/xMuLMYXGIagTSKabdXYeX3fAe0NH/otUmp WmFsqcMQOHhzA2cm1+nzCeyRsM4zho5sxGFZxQLZZK64eXIwlmEyVKQO6Z/mbQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1669835833; a=rsa-sha256; cv=none; b=JrFOgNX6diMqSU8M/7tClZhvxcrao6kafDdpPtXD9rmYxzbIRkqia8G1gIrVs55u8vK/nA dCMYgjtJZYWaQzglbi+H7Fv/1eqzrcAL4v0iclYi3qJf/a4BKr8hiqUvK3yyjdoQoP/j3V XUNXLa2WX6Hc5zZ4eO7LFcpK34kxKEc5Sid1tRbnAqBDWwLEdYUJpLlROb4tDy0FBTmaZY YKmHxodpc+QaUo7DPuDV/tg2GxcLT0RThhGZf39NYzmBIZGe/BFs3QAe32Z21sSEeJKnHd O5fDQEPuDTNRzi2MW9ER0VjGOgdDEgXREQNrrfGaZfQ5o7g152u1Km2gzJMM+A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NMpqY3lVTz16xL; Wed, 30 Nov 2022 19:17:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2AUJHDv8031659; Wed, 30 Nov 2022 19:17:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2AUJHDer031658; Wed, 30 Nov 2022 19:17:13 GMT (envelope-from git) Date: Wed, 30 Nov 2022 19:17:13 GMT Message-Id: <202211301917.2AUJHDer031658@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Pau Amma Subject: git: 1288a10af617 - stable/12 - Update resolv.conf(5) "not necessary" language. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pauamma X-Git-Repository: src X-Git-Refname: refs/heads/stable/12 X-Git-Reftype: branch X-Git-Commit: 1288a10af617884ce3104e84f71b09df27d07d8d Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by pauamma (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=1288a10af617884ce3104e84f71b09df27d07d8d commit 1288a10af617884ce3104e84f71b09df27d07d8d Author: Pau Amma AuthorDate: 2022-11-21 00:19:55 +0000 Commit: Pau Amma CommitDate: 2022-11-30 19:09:32 +0000 Update resolv.conf(5) "not necessary" language. While there, fix mandoc -T lint warnings. PR: 262492 Differential Revision: https://reviews.freebsd.org/D37449 MFC after: 1 week Reviewed by: gjb Approved by: gjb (mentor) (cherry picked from commit e8261bba4e18ab95fe958e195b07a66df1b8d855) Clarify what's normally not required. Reported by: karels Reviewed by: carlavilla, karels (informally) Approved by: carlavilla (mentor), gjb (mentor, implicitly) Differential Revision: https://reviews.freebsd.org/D37483 (cherry picked from commit 06703946d0be0baaf0f2a88f85e2dd5354e861da) --- share/man/man5/resolver.5 | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/share/man/man5/resolver.5 b/share/man/man5/resolver.5 index e2c78e8a3bc9..a0c1aea24b88 100644 --- a/share/man/man5/resolver.5 +++ b/share/man/man5/resolver.5 @@ -28,7 +28,7 @@ .\" @(#)resolver.5 8.1 (Berkeley) 6/5/93 .\" $FreeBSD$ .\" -.Dd November 7, 2022 +.Dd November 23, 2022 .Dt RESOLVER 5 .Os .Sh NAME @@ -46,8 +46,10 @@ by the resolver routines the first time they are invoked by a process. The file is designed to be human readable and contains a list of keywords with values that provide various types of resolver information. .Pp -On a normally configured system this file should not be necessary. -The only name server to be queried will be on the local machine, +On a normally configured system, setting this file manually should not +be necessary. +The only name server(s) to be queried will be on the local machine +or automatically configured using DHCP or a similar mechanism, the domain name is determined from the host name, and the domain search path is constructed from the domain name. .Pp @@ -132,7 +134,7 @@ in _res.options. sets .Dv RES_USEVC to use TCP instead of UDP for queries. -.It Sy ndots: Ns Ar n +.It Sy ndots : Ns Ar n sets a threshold for the number of dots which must appear in a name given to .Fn res_query (see @@ -148,7 +150,7 @@ meaning that if there are any dots in a name, the name will be tried first as an absolute name before any .Em search list elements are appended to it. -.It Sy timeout: Ns Ar n +.It Sy timeout : Ns Ar n sets the initial amount of time the resolver will wait for a response from a remote name server before retrying the query via a different name server. @@ -161,7 +163,7 @@ the allowed maximum is .Dv RES_MAXRETRANS (see .In resolv.h ) . -.It Sy attempts: Ns Ar n +.It Sy attempts : Ns Ar n sets the number of times the resolver will send a query to each of its name servers before giving up and returning an error to the calling application. @@ -180,7 +182,7 @@ the resolver from obeying the standard and .Sy search rules with the given name. -.It Sy reload-period: Ns Ar n +.It Sy reload-period : Ns Ar n The resolver checks the modification time of .Pa /etc/resolv.conf every