Add option no-aaaa to the resolv.conf manual page

Also uploaded new tarball
Resolves: #2184023
This commit is contained in:
Lukas Javorsky 2023-04-12 18:06:30 +00:00
parent bd52488efe
commit 48160d7fcd
4 changed files with 56 additions and 2 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
SOURCES/man-pages-overrides-8.6.0.0.tar.xz
/man-pages-overrides-8.6.0.0.tar.xz
/man-pages-overrides-8.9.0.0.tar.xz

View File

@ -0,0 +1,47 @@
From ebd8a5bc9259cc7a95460ee835df50cef0c32aae Mon Sep 17 00:00:00 2001
From: Lukas Javorsky <ljavorsk@redhat.com>
Date: Wed, 12 Apr 2023 17:52:14 +0000
Subject: [PATCH] resolv.conf.5: Add option no-aaaa to the resolv.conf manual
page
---
man-pages/man5/resolv.conf.5 | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/man-pages/man5/resolv.conf.5 b/man-pages/man5/resolv.conf.5
index 93c6b47..7c61783 100644
--- a/man-pages/man5/resolv.conf.5
+++ b/man-pages/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

View File

@ -2,7 +2,7 @@
Summary: Complementary and updated manual pages
Name: man-pages-overrides
Version: 8.6.0.0
Version: 8.9.0.0
Release: 1%{?dist}
# license is the same as for the man-pages package
License: GPL+ and GPLv2+ and BSD and MIT and Copyright only and IEEE
@ -19,6 +19,7 @@ Patch6: 1850065-mpo-8.3.0.2-sgdisk.8.patch
Patch7: 1899552-mpo-8.5.0.0-statx.2.patch
Patch8: 1928160-mpo-8.5.0.0-resolv.conf.5.patch
Patch9: 1981853-mpo-8.5.0.1-tcp.7.patch
Patch10: 2184023-mpo-8.9.0.0-resolv.conf.5.patch
BuildArch: noarch
@ -67,6 +68,11 @@ done
%{_mandir}/overrides/
%changelog
* Wed Mar 12 2023 Lukas Javorsky <ljavorsk@redhat.com> - 8.9.0.0-1
- Upload new tarball
- resolv.conf.5: Add option no-aaaa
resolves: #2184023
* Thu Feb 03 2022 Nikola Forró <nforro@redhat.com> - 8.6.0.0-1
- Upload new tarball
- rpc.3: remove the man page

View File

@ -1 +1 @@
SHA512 (man-pages-overrides-8.6.0.0.tar.xz) = 614191828e6365c8327896febe7158ccd54c53fa65a43b3fb4449a1261773631270edc54d89ee19ab91c65e79cf2762ed98839aa77f94a53f246b17848f1a6c1
SHA512 (man-pages-overrides-8.9.0.0.tar.xz) = 1fb981e09a37041df3ab72d37bcef865557c9b1d5f0c227c5640ef2308d72c05184b2b1f25bd2b04a5ac68b2ec91d90b77b58feba437cfb9115ce0f9515ef499