From nobody Sun Mar 15 15:18:20 2026 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 4fYhgk0R4nz6Vxf4 for ; Sun, 15 Mar 2026 15:18:26 +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 "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fYhgj5slTz3DJy for ; Sun, 15 Mar 2026 15:18:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1773587905; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=OzSO2tY/pnSKOCu2STBP5E/RfOxtCNB4D8f92nbrBrs=; b=JTdyTH1NDL6rfkSRTUx05ZW/bbKl67y+Wdh67PyJMw37muqPVKJtoO3ZeI1U+JikMBEhVN aEh4QtvW/yvWCnotzKqzEqLEWxXiUydKi+Ra+9rPPgmUS94CCllgvbyuqK51q+NxPqmuRQ jRwpUX545hjEt2akv4t0UI6B5XRSFm6ABI/KYvqnJPgU8AY5qRHvZPzrcK9OJBITKXlH9M NPRzh9jZUCOcEM7PT+hEeLJfcxJsDs+taNaj3sg2/yJtcDg6sYyR3OUpWGBDMwdGlvtly4 ZeQK0L1cFFDVMeAU/Pidp0GhHj/O4q4NIa7wH3YOkqh/GrthCSLR+muoOhaWyw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1773587905; a=rsa-sha256; cv=none; b=aHcuJ9WXdlrTqN+vALm9TyXSbDTwBROyAfIW+QBWWQOSxpjG4dT0RxBazXEIOum4vnxAQC Ei/GAGyJrfbfpZqvWOHdU5XqqE6vm35QKQdjtb8DFK55COPMxEtAlruwGi2A3rKVu/Y0Il TpIis9HLu65vAuT8gr8vTnNXo14EeNcMavkL/7+BEyfyElHrulfk7qsJ5PTGB1gpPQ2ewq q6g+DCnsjbO/h8GuL7NIsJitvrdpbIQtZavtLc7sJarI6LrxDkjRNkXf+rWNPRfKIAeuF8 m4OUOe1rJEB8kVbJEqKgLr6ZLW0CVvilGQ9O12sOg4VARnIVjsA9XDT2ZHzRrg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1773587905; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=OzSO2tY/pnSKOCu2STBP5E/RfOxtCNB4D8f92nbrBrs=; b=h/TPXNedpbTBJsAe+Eq132I2bcCMoZLS3jLu5vdIef5lIeT9yKCV/La/F6QUUBhD/+W4bc 9YjrhURfE8lTB1x6om2gcX0UC8v9GzBLI9qe2Z5f0SmlddvJz+E1kVXa8ef8n2ExL7FBDN feWWcoBrQ+pkfxme/jyjScm9qTD1n1mZJfuNf8Z/XXtB6rPHah49p1J5J5TKoJtBHWXzXX aWZgFPXKScQX/1scCNVGWOPp9rC3C4V3t7AxbmXzWMSd1YBLojmZza8LGk2AwiZ+rfjL2v s6p7qMD0Qc8sqkgNCwnmHwUC/RypfF5r4REPAlgRsd8yIsrP/g6rRSsQnTbfug== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4fYhgj4rRFztj7 for ; Sun, 15 Mar 2026 15:18:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 45c01 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sun, 15 Mar 2026 15:18:20 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Cc: Christos Longros From: Dag-Erling=?utf-8?Q? Sm=C3=B8rg?=rav Subject: git: 462a1f6197fa - main - resolver.5: document six previously undocumented options 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: des X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 462a1f6197fa3de63e0eca2835b1d5b0bc6a3bbb Auto-Submitted: auto-generated Date: Sun, 15 Mar 2026 15:18:20 +0000 Message-Id: <69b6cdbc.45c01.d733e6b@gitrepo.freebsd.org> The branch main has been updated by des: URL: https://cgit.FreeBSD.org/src/commit/?id=462a1f6197fa3de63e0eca2835b1d5b0bc6a3bbb commit 462a1f6197fa3de63e0eca2835b1d5b0bc6a3bbb Author: Christos Longros AuthorDate: 2026-03-15 15:17:04 +0000 Commit: Dag-Erling Smørgrav CommitDate: 2026-03-15 15:17:08 +0000 resolver.5: document six previously undocumented options Document the edns0, inet6, insecure1, insecure2, no-check-names, and rotate options which are parsed by res_init(3) but were not described in the resolver(5) man page. MFC after: 1 week Signed-off-by: Christos Longros Reviewed by: des Differential Revision: https://reviews.freebsd.org/D55864 --- share/man/man5/resolver.5 | 40 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/share/man/man5/resolver.5 b/share/man/man5/resolver.5 index 9f8c0d689a0a..4dd3f8c93a99 100644 --- a/share/man/man5/resolver.5 +++ b/share/man/man5/resolver.5 @@ -25,7 +25,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd November 23, 2022 +.Dd March 15, 2026 .Dt RESOLVER 5 .Os .Sh NAME @@ -170,6 +170,38 @@ the allowed maximum is .Dv RES_MAXRETRY (see .In resolv.h ) . +.It Sy edns0 +Sets +.Dv RES_USE_EDNS0 . +Attach an OPT pseudo-RR for the EDNS0 extension, +as specified in RFC 2671. +This allows the resolver to advertise a larger UDP receive buffer size, +permitting responses larger than the original 512-byte limit. +.It Sy inet6 +Sets +.Dv RES_USE_INET6 . +Causes +.Xr gethostbyname 3 +to look up AAAA records before A records +and to map IPv4 responses into IPv6 addresses. +The use of this option is discouraged. +.It Sy insecure1 +Sets +.Dv RES_INSECURE1 . +Disables the check that the response was received from the +same server to which the query was sent. +Use of this option is a security risk and is not recommended. +.It Sy insecure2 +Sets +.Dv RES_INSECURE2 . +Disables the check that the response contains a query +matching the one that was sent. +Use of this option is a security risk and is not recommended. +.It Sy no-check-names +Sets +.Dv RES_NOCHECKNAME . +Disables the check of incoming host names for invalid characters +such as underscore, non-ASCII, or control characters. .It Sy no_tld_query tells the resolver not to attempt to resolve a top level domain name, that is, a name that contains no dots. @@ -179,6 +211,12 @@ the resolver from obeying the standard and .Sy search rules with the given name. +.It Sy rotate +Sets +.Dv RES_ROTATE . +Causes the resolver to round-robin among the configured name servers, +distributing the query load instead of always trying the first +listed server. .It Sy reload-period : Ns Ar n The resolver checks the modification time of .Pa /etc/resolv.conf