diff --git a/man-pages-5.10-resolv.conf.5-no-aaaa.patch b/man-pages-5.10-resolv.conf.5-no-aaaa.patch new file mode 100644 index 0000000..b68f0cb --- /dev/null +++ b/man-pages-5.10-resolv.conf.5-no-aaaa.patch @@ -0,0 +1,47 @@ +From ebd8a5bc9259cc7a95460ee835df50cef0c32aae Mon Sep 17 00:00:00 2001 +From: Lukas Javorsky +Date: Wed, 12 Apr 2023 17:52:14 +0000 +Subject: [PATCH] resolv.conf.5: Add option no-aaaa to the resolv.conf manual + page + +--- + man5/resolv.conf.5 | 23 +++++++++++++++++++++++ + 1 file changed, 23 insertions(+) + +diff --git a/man5/resolv.conf.5 b/man5/resolv.conf.5 +index 93c6b47..7c61783 100644 +--- a/man5/resolv.conf.5 ++++ b/man5/resolv.conf.5 +@@ -189,6 +189,29 @@ which causes round-robin selection of name servers from among those listed. + This has the effect of spreading the query load among all listed servers, + rather than having all clients try the first listed server first every time. + .TP ++.B no\-aaaa ++.\" f282cdbe7f436c75864e5640a409a10485e9abb2 ++Sets ++.B RES_NOAAAA ++in ++.IR _res.options , ++which suppresses AAAA queries made by the stub resolver, ++including AAAA lookups triggered by NSS-based interfaces such as ++.BR getaddrinfo (3). ++Only DNS lookups are affected: IPv6 data in ++.BR hosts (5) ++is still used, ++.BR getaddrinfo (3) ++with ++.B AI_PASSIVE ++will stillproduce IPv6 addresses, ++and configured IPv6 name servers are still used. ++To produce correct Name Error (NXDOMAIN) results, ++AAAA queries are translated to A queries. ++This option is intended preliminary for diagnostic purposes, ++to rule out that AAAA DNS queries have adverse impact. ++It is incompatible with EDNS0 usage and DNSSEC validation by applications. ++.TP + .B no\-check\-names + .\" since glibc 2.2 + Sets +-- +2.39.2 + diff --git a/man-pages.spec b/man-pages.spec index 3ffd07a..5bdc1f9 100644 --- a/man-pages.spec +++ b/man-pages.spec @@ -8,7 +8,7 @@ Summary: Linux kernel and C library user-space interface documentation Name: man-pages Version: 5.10 -Release: 6%{?dist} +Release: 7%{?dist} License: GPL+ and GPLv2+ and BSD and MIT and Copyright only and IEEE URL: http://www.kernel.org/doc/man-pages/ Source: http://www.kernel.org/pub/linux/docs/man-pages/man-pages-%{version}.tar.xz @@ -50,6 +50,10 @@ Patch22: man-pages-5.10-subid.patch # Source: Upstream-commit 076fbe061333bdfecbd5765c782c477233e38e2f Patch23: man-pages-5.10-resolv-conf-typo-fix.patch +# resolv.conf.5 no-aaaa option +# Source: https://marc.info/?l=linux-man&m=168131276816867&w=2 +Patch24: man-pages-5.10-resolv.conf.5-no-aaaa.patch + %description A large collection of manual pages from the Linux Documentation Project (LDP). @@ -59,6 +63,7 @@ A large collection of manual pages from the Linux Documentation Project (LDP). %patch21 -p1 %patch22 -p1 %patch23 -p1 +%patch24 -p1 # rename posix README so we don't have conflict mv %{posix_name}/README %{posix_name}/%{posix_name_rel}.README @@ -124,6 +129,10 @@ fi %{_mandir}/man*/* %changelog +* Wed May 03 2023 Lukas Javorsky - 5.10-7 +- resolv.conf.5 no-aaaa option + resolves: RHEL-454 + * Fri Nov 04 2022 Lukas Javorsky - 5.10-6 - Fix the resolv.conf typo - Source from upstream commit 076fbe061333bdfecbd5765c782c477233e38e2f