2024-05-15 15:20:32 -04:00
|
|
|
---
|
2023-12-11 20:30:44 -05:00
|
|
|
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:
|
|
|
|
Help: Resolve names to IPv4 addresses
|
|
|
|
Category: connection dns
|
|
|
|
Multi: mutex
|
2024-05-15 15:20:32 -04:00
|
|
|
See-also:
|
|
|
|
- http1.1
|
|
|
|
- http2
|
|
|
|
Example:
|
|
|
|
- --ipv4 $URL
|
2023-12-11 20:30:44 -05:00
|
|
|
---
|
2024-05-15 15:20:32 -04:00
|
|
|
|
|
|
|
# `--ipv4`
|
|
|
|
|
|
|
|
Use IPv4 addresses only when resolving hostnames, and not for example try
|
|
|
|
IPv6.
|