curl-curl/docs/cmdline-opts/ipv4.md
Daniel Lublin d4234d9f46
docs: clarify --ipv4 and --ipv6
Try to make the wording more clear. It is the addresses in the resolver
result that are affected, not anything regarding *how* resolving is
done.

Closes #20585
2026-02-20 12:50:10 +01:00

411 B

c SPDX-License-Identifier Short Long Tags Protocols Added Mutexed Requires Help Category Multi See-also Example
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. curl 4 ipv4 Versions 7.10.8 ipv6 Resolve names to IPv4 addresses connection dns mutex
http1.1
http2
--ipv4 $URL

--ipv4

Request only IPv4 addresses when resolving hostnames, and not for example any IPv6.