2023-01-02 20:51:48 +08:00
|
|
|
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
2022-06-14 06:12:03 +08:00
|
|
|
SPDX-License-Identifier: curl
|
2016-11-16 06:44:58 +08:00
|
|
|
Short: 4
|
|
|
|
Long: ipv4
|
|
|
|
Tags: Versions
|
|
|
|
Protocols:
|
2021-09-28 17:50:07 +08:00
|
|
|
Added: 7.10.8
|
2016-11-16 06:44:58 +08:00
|
|
|
Mutexed: ipv6
|
|
|
|
Requires:
|
|
|
|
See-also: http1.1 http2
|
|
|
|
Help: Resolve names to IPv4 addresses
|
2020-07-13 20:15:04 +08:00
|
|
|
Category: connection dns
|
2021-08-31 22:37:14 +08:00
|
|
|
Example: --ipv4 $URL
|
2023-05-08 18:01:09 +08:00
|
|
|
Multi: mutex
|
2016-11-16 06:44:58 +08:00
|
|
|
---
|
2023-05-08 18:01:09 +08:00
|
|
|
This option tells curl to use IPv4 addresses only when resolving host names,
|
|
|
|
and not for example try IPv6.
|