xref: /third_party/curl/docs/cmdline-opts/ipv4.md (revision 13498266)
1---
2c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
3SPDX-License-Identifier: curl
4Short: 4
5Long: ipv4
6Tags: Versions
7Protocols:
8Added: 7.10.8
9Mutexed: ipv6
10Requires:
11Help: Resolve names to IPv4 addresses
12Category: connection dns
13Multi: mutex
14See-also:
15  - http1.1
16  - http2
17Example:
18  - --ipv4 $URL
19---
20
21# `--ipv4`
22
23This option tells curl to use IPv4 addresses only when resolving host names,
24and not for example try IPv6.
25