]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
resolv.conf.5: Add option no-aaaa
authorLukas Javorsky <ljavorsk@redhat.com>
Wed, 12 Apr 2023 15:09:30 +0000 (15:09 +0000)
committerAlejandro Colomar <alx@kernel.org>
Fri, 14 Apr 2023 14:24:10 +0000 (16:24 +0200)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man5/resolv.conf.5

index 6af8b4e92deb748e61e885d50f8892122ebccc05..7e207b0f4a1ee2321a510614ac89b255efdb9763 100644 (file)
@@ -200,6 +200,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 (since glibc 2.36)
+.\" 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