xref: /curl/docs/cmdline-opts/ipv6.md (revision 79cdae4f)
1---
2c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
3SPDX-License-Identifier: curl
4Short: 6
5Long: ipv6
6Tags: Versions
7Protocols:
8Added: 7.10.8
9Mutexed: ipv4
10Requires:
11Help: Resolve names to IPv6 addresses
12Category: connection dns
13Multi: mutex
14See-also:
15  - http1.1
16  - http2
17Example:
18  - --ipv6 $URL
19---
20
21# `--ipv6`
22
23Use IPv6 addresses only when resolving hostnames, and not for example try
24IPv4.
25
26Your resolver may respond to an IPv6-only resolve request by returning IPv6
27addresses that contain "mapped" IPv4 addresses for compatibility purposes.
28macOS is known to do this.
29