Using this script you can easily enable IPv4 support and disable IPv6 in your Cloudflare account.
- Download
cf-ipv.sh
file using wget or directly. - Run the following command
sh cf-ipv.sh true [zoneID] [Email] [Auth-key]
to disable IPv6 and enable IPv4.
or
sh cf-ipv.sh false [zoneID] [Email] [Auth-key]
to enable IPv6 and disable IPv4.