docs: clarify --ipv4 and --ipv6

Try to make the wording more clear. It is the addresses in the resolver
result that are affected, not anything regarding *how* resolving is
done.

Closes #20585
This commit is contained in:
Daniel Lublin 2026-02-13 09:40:12 +01:00 committed by Viktor Szakats
parent 3699976b79
commit d4234d9f46
No known key found for this signature in database
2 changed files with 4 additions and 4 deletions

View file

@ -20,5 +20,5 @@ Example:
# `--ipv4`
Use IPv4 addresses only when resolving hostnames, and not for example try
Request only IPv4 addresses when resolving hostnames, and not for example any
IPv6.

View file

@ -20,9 +20,9 @@ Example:
# `--ipv6`
Use IPv6 addresses only when resolving hostnames, and not for example try
Request only IPv6 addresses when resolving hostnames, and not for example any
IPv4.
Your resolver may respond to an IPv6-only resolve request by returning IPv6
addresses that contain "mapped" IPv4 addresses for compatibility purposes.
Your resolver may still respond to an IPv6-only resolve request by returning
IPv6 addresses that contain "mapped" IPv4 addresses for compatibility purposes.
macOS is known to do this.