master-server/deps/curl/docs/cmdline-opts/ipv6.md
2024-05-15 15:20:32 -04:00

29 lines
586 B
Markdown

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