summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Javorsky <ljavorsk@redhat.com>2023-04-12 15:09:30 +0000
committerAlejandro Colomar <alx@kernel.org>2023-04-14 16:24:10 +0200
commit391bf54cfd5daf93fc904959d062259065c94ffc (patch)
treef6bb7bcfb885ebab7fc08bf396e412275972e11d
parentedaa12e6bb7d8c64357a9992fcaa2c815f00fefa (diff)
resolv.conf.5: Add option no-aaaa
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man5/resolv.conf.523
1 files changed, 23 insertions, 0 deletions
diff --git a/man5/resolv.conf.5 b/man5/resolv.conf.5
index 6af8b4e92..7e207b0f4 100644
--- a/man5/resolv.conf.5
+++ b/man5/resolv.conf.5
@@ -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