curl/docs/cmdline-opts/ipv6.md
Daniel Stenberg 79cdae4fc7
ipv6.md: mention IPv4 mapped addresses
Reported-by: Josh Soref
Assisted-by: Jay Satiro
Fixes #13112
Closes #13131
2024-03-15 14:56:37 +01:00

586 B

c SPDX-License-Identifier Short Long Tags Protocols Added Mutexed Requires Help Category Multi See-also Example
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. curl 6 ipv6 Versions 7.10.8 ipv4 Resolve names to IPv6 addresses connection dns mutex
http1.1
http2
--ipv6 $URL

--ipv6

Use IPv6 addresses only when resolving hostnames, and not for example try IPv4.

Your resolver may 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.