summaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/ipv4.d
blob: 60690bedcfcee53b79b278ecb5187bfba4fa2f4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
Short: 4
Long: ipv4
Tags: Versions
Protocols:
Added: 7.10.8
Mutexed: ipv6
Requires:
See-also: http1.1 http2
Help: Resolve names to IPv4 addresses
Category: connection dns
Example: --ipv4 $URL
Multi: mutex
---
This option tells curl to use IPv4 addresses only when resolving host names,
and not for example try IPv6.